What is the difference between the Interactive mode and the Script mode of Python?
Please answer
It's urgent
Answers
Answered by
2
Interactive mode is a command line shell which gives immediate feedback for each statement, while running previously fed statements in active memory. As new lines are fed into the interpreter, the fed program is evaluated both in part and in whole.
It is a way of executing a Python program in which statements are written in command prompt and result is obtained on the same. In the script mode, the Python program is written in a file. Python interpreter reads the file and then executes it and provides the desired result.
Similar questions
Math,
15 hours ago
Chemistry,
15 hours ago
English,
1 day ago
Environmental Sciences,
8 months ago
Math,
8 months ago