how python works in script mode write an example
Answers
Answered by
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.
Explanation:
Hope it will help you
Similar questions