✏️ Explanatory Question

Python-এ Whitespace এবং Indentation-এর ভূমিকা ব্যাখ্যা করো।

👁 0 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Python-এ whitespace এবং indentation খুব গুরুত্বপূর্ণ কারণ এটি code block define করে।

Example:

if True:
    print("Correct indentation")

Without indentation:

if True:
print("Error")

এই ক্ষেত্রে error হবে।

Role:

  • Code structure define করে
  • Readability বাড়ায়
  • Syntax error prevent করে