KnowledgeBoat Logo
|
LoginJOIN NOW

Informatics Practices

Assertion (A): Python IDLE or Interpreter provides two modes to work with, create and run the scripts or code.

Reasoning (R): Interactive mode comprises Python prompt '>>>' where you can simply start typing the command and display output, and script window, where you can write Python program in a file and execute it to display output.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.

Getting Started

1 Like

Answer

Both A and R are true and R is the correct explanation of A.

Explanation
Python's Integrated Development and Learning Environment (IDLE) or interpreter provides two modes to work with: interactive mode and script mode. Interactive mode comprises the Python prompt '>>>' where we can start typing commands and see the output immediately. In script mode, we can write a Python program in a file and execute it to display the output.

Answered By

3 Likes


Related Questions