How to compare two float values in Python?