English

What are the different modes that can be used to test Python programs?

Advertisements

Question

What are the different modes that can be used to test Python programs?

Short/Brief Note
Advertisements

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?
Chapter 5: Python - Variables and Operators - Evaluation [Page 66]
Advertisements
Share
Notifications



      Forgot password?
Use app×