Informatics Practices

Which of the following is a valid keyword?

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

Python Control Flow

1 Like

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

3 Likes


Related Questions