Robotics & Artificial Intelligence

Which of the following is not a Python keyword?

  1. true
  2. false
  3. right
  4. not

Getting Started

1 Like

Answer

right

Reason — The words 'true', 'false' and 'not' are reserved keywords in Python which carry special meaning for the language translator. However, 'right' is not a Python keyword and can be used as an identifier.

Answered By

2 Likes


Related Questions