Question #296

What is the output of the code snippet below?
a = 3 * 5
b = 3 * 5.0

print(a == b)

It will return True . Python handles comparing numbers of different types with no issues! (stackoverflow.com/questions/10037115/comparing-a-float-an...)


Comment on Disqus:

Question difficulty: šŸ”µšŸ”µšŸ”µšŸ”µšŸ”µ