1. Home
  2. Data Science
  3. Python
  4. Which of the following is not a valid boolean value in…

Added 4 May 2024

Which of the following is not a valid boolean value in Python?

  1. TRUE Correct answer
  2. False
  3. 0
  4. True

Correct answer

A. TRUE

17 views

MCQSEXAM

Explanation

Boolean literals in Python are case-sensitive, so TRUE is not a valid boolean value.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs