QuestionQ44

VerifiedComputer Programming and Python Fundamentals

What is the output produced by the following code?

Question Image

Explanation

The expression a > b evaluates to False because 10 is less than 20. The not operator negates that Boolean value, so print(not(c)) outputs True.

Community Discussion

No comments yet. Be the first to start the discussion!