Advertisements
Advertisements
Question
What are the different modes that can be used to test Python programs?
Short Note
Solution
In Python, programs can be written in two ways namely Interactive mode and Script mode. The Interactive mode allows us to write codes in Python command prompt (>>>) whereas in script mode programs can be written and stored as a separate file with the extension .py and executed. Script mode is used to create and edit Python source files.
shaalaa.com
Programming in Python
Is there an error in this question or solution?