KnowledgeBoat Logo
|

Informatics Practices

Which of the following is a valid keyword?

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

Python Control Flow

2 Likes

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.

Answered By

2 Likes


Related Questions