QuestionQ52

VerifiedComputer Programming and Python Fundamentals

Which of the following statements is correct?

Choose two
Explanation

Python evaluates True or False as True. Because Boolean values act as integers in arithmetic, True + 1 evaluates to 2.

Community Discussion

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