Computer Science, asked by saniyafarhat786, 8 months ago

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

Answers

Answered by subhamrout2019
3

Explanation:

Interactive Mode and Script Mode are the two main modes which are used in Python Programming Language.

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. It runs very quickly and gives the output instantly.

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

It takes more time to compile. In this mode, one can simply write all the lines of code in a text file.

Answered by Anonymous
1

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