Computer Science, asked by kriti0824, 9 days ago

2. What is the difference between the interactive mode and the Script mode of Python?​

Answers

Answered by ammukavitha620
4

Answer:

The interactive mode involves running your codes directly on the Python shell which can be accessed from the terminal of the operating system. In the script mode, you have to create a file, give it a name with a . py the extension then runs your code. The interactive mode is suitable when running a few lines of code.

Answered by Anonymous
7

Answer:

Explanation:

The basic differences between these two modes are as follows:

Interactive mode is used when an user wants to run one single line or one block of code.

Script Mode, on the other hand , is used when the user is working with more than one single code or a block of code.

Similar questions