KnowledgeBoat Logo
LoginJOIN NOW

Informatics Practices

Assertion (A): Each component of a programming statement is known as a token.

Reasoning (R): Token is not executed by Python interpreter, only used in the program coding.

  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

2 Likes

Answer

A is true but R is false.

Explanation
A token is the smallest element of a Python script that is meaningful to the interpreter. Each component of a programming statement is referred to as a token. Comments are not executed by the interpreter, but tokens are executed by it.

Answered By

2 Likes


Related Questions