A

Admin • 833K Points
Coach

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: 25
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

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.