What is the difference between interactive mode and script mode in python?
Answers
Answered by
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
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
Science,
4 months ago
English,
4 months ago
Math,
8 months ago
CBSE BOARD X,
8 months ago
Chemistry,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago