KnowledgeBoat Logo
|

Informatics Practices

Assertion (A): 'Rollnumber' and 'rollnumber' are same identifiers.

Reasoning (R): Python is a case-sensitive language, i.e., it treats uppercase and lowercase letters differently.

  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.

Python Funda

3 Likes

Answer

A is false but R is true.

Explanation
Python is a case-sensitive language, meaning it distinguishes between uppercase and lowercase letters. Therefore, 'Rollnumber' and 'rollnumber' are not considered the same identifiers in Python.

Answered By

1 Like


Related Questions