CBSE Class 11 Informatics Practices
Question 3 of 62
Getting Started with Python — Question 3
Back to all questions 3
Question 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.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
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.