Computer Science, asked by kharedharini, 1 day ago

What is the difference between the Interactive mode and the Script mode of Python?



Please answer
It's urgent​

Answers

Answered by maakiladli377
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