Computer Science, asked by satyampandey1047, 7 months ago

what is difference between interactive mode and script mode in Python ​

Answers

Answered by ashutoshmishra24
18

Answer:please mark me as brainliest

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
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