✏️ Explanatory Question

Python-এর Execution Modes ব্যাখ্যা করো।

👁 0 Views
📘 Detailed Answer
🟢 Easy
0
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

Python-এ দুটি execution mode আছে:

1. Interactive Mode

  • Line-by-line execute হয়
  • Immediate output পাওয়া যায়
  • Testing-এর জন্য ভালো
>>> print("Hello")
Hello

2. Script Mode

  • .py file আকারে program লেখা হয়
  • একবারে পুরো program execute হয়
  • Large program-এর জন্য ব্যবহার করা হয়

Difference:

InteractiveScript
Line by lineFull program
TestingApplication