Computer Science, asked by adityaqq72, 8 months ago

What is the difference between interactive mode and script mode in python?

Answers

Answered by BlackWizard
34

Answer:

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.

Answered by mittalsangeeta401
12

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.

Explanation:

PLEASE MARK AS BRAINLIEST.......AND FOLLOW.......

Similar questions