Question #807

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

If the argument passed to the bool() function does not amount to zero, it returns True . Otherwise, it always returns False . (w3schools.com/python/python_booleans.asp)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵