Qprint("Hello") এর Output কী হবে?
Question Info
Select All That Apply
Tick every correct option, then press Check Answer.
Explanation
বিস্তারিত ব্যাখ্যা:
Python-এ print() ফাংশন স্ক্রিনে আউটপুট প্রদর্শনের
জন্য ব্যবহৃত হয়। যখন print("Hello") লেখা হয়, তখন
"Hello" স্ট্রিংটির মান স্ক্রিনে প্রদর্শিত হয়।
উদাহরণ:
print("Hello")
Output:
Hello
এখানে "Hello" এর মধ্যে থাকা ডাবল কোটেশন (" ")
স্ট্রিং নির্দেশ করার জন্য ব্যবহৃত হয়েছে। আউটপুট প্রদর্শনের সময় কোটেশন চিহ্ন
দেখানো হয় না; শুধুমাত্র স্ট্রিংয়ের ভেতরের লেখা প্রদর্শিত হয়।
তাই আউটপুট হবে Hello, "Hello" নয়। এছাড়া এই কোডে কোনো Syntax Error নেই, তাই Error হওয়ারও কোনো সম্ভাবনা নেই।
সুতরাং print("Hello") এর Output হবে
Hello।
print() ফাংশন স্ট্রিংয়ের মান
প্রদর্শন করে, কিন্তু কোটেশন চিহ্ন (" " বা ' ')
আউটপুটে দেখায় না।
Want to remember what you got wrong?
Create a free account in seconds to track your score, revisit mistakes and continue মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - দ্বাদশ শ্রেণী (Class 12) - WBCHSE where you left off.
- Save your progress & streak
- Topic-wise quizzes & scores
- Bookmark tricky questions
- Printable MCQ sets
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.