code not true?

jeff_islay at my-deja.com jeff_islay at my-deja.com
Sat Apr 22 07:49:52 EDT 2000


Why does the second example return false?

>>> print 7.0 == 7
1
>>> print (.07 * 100) == 7
0


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list