What will be the output of the following statement in Python? print(True or…

2026

What will be the output of the following statement in Python?
print(True or False and False or not False)

Answer: C. True

  1. A.

    None

  2. B.

    False

  3. C.

    True

  4. D.

    Error

Attempted by 461 students.

Show answer & explanation

Correct answer: C

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…