1

I would like to know why 0.0== False returns True in Python. I know 0==False returns True because Bool is a subclass of int so essentially you are comparing the same data type but is the same true for float?

0 Answers0