Question #874

What is the output of the code snippet below?
print(True - True)

In Python, the boolean True evaluates to 1. So True - True evaluates to 0. (problemsolvingwithpython.com/04-Data-Types-and-Variables/...)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: