KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Science

Assertion (A): The interactive mode of Python gives instant result of the typed statement.

Reasoning (R): Script mode is an interactive window where Python code can be executed in the same window.

  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

2 Likes

Answer

A is true but R is false.

Explanation
The interactive mode of Python gives instant results for typed statements. The Python Shell is an interactive window where you can type in Python code and see the output immediately in the same window. It serves as an interface between Python commands and the operating system.

Answered By

2 Likes


Related Questions