KnowledgeBoat Logo
|

Informatics Practices

Assertion (A): To print the value of a variable, Python uses print() method.

Reasoning (R): print() method displays the content on the system screen or console.

  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

3 Likes

Answer

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

Explanation
The print() function is a built-in function in Python that displays the content on the system screen or console. To print the value of a variable, Python uses the print() function.

Answered By

2 Likes


Related Questions