CBSE Class 11 Computer Science Question 21 of 80

Conditional and Looping Constructs — Question 4

Back to all questions
4
Question

Question 4

Which of the following is a valid keyword?

  1. IF
  2. If
  3. if
  4. None of these
Answer

if

Reason — In Python, keywords are case-sensitive, meaning they must be written exactly as specified by the Python language. The valid keyword among the options provided is if.