Python pływa do ułamka
>>> from fractions import Fraction
>>> Fraction(0.25)
Fraction(1, 4)
Strange Starling
>>> from fractions import Fraction
>>> Fraction(0.25)
Fraction(1, 4)