Question #892

What is the output of the code snippet below?
print(bool(bool(False)+1))

bool(False) evaluates to 0 and bool(1) evaluates to True ! (w3schools.com/python/python_booleans.asp)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵