T

Tanmay • 2.43K Points
Master

Q. What is the output of the following code?

Code:
True = False
while True:
    print(True)
    break
  • (A) False
  • (B) True
  • (C) None
  • (D) None of the above
  • Correct Answer - Option(D)
  • Views: 136
  • Filed under category Python

Explanation by: Tanmay
SyntaxError, True is a reserved keyword and its value cannot be changed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics