Question #540

What is the output of the code snippet below?
print('1' == 1)

As '1' is a string and 1 is an integer, '1' == 1 will simply evaluate to False . Not exception will be raised. (tutorialspoint.com/python/python_exceptions.htm)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: