from fractions import Fraction
a = Fraction(1, 3)
b = Fraction(1, 4)
c = a + b
d = c.limit_denominator(2)
print(d)
Post #1302
2.24K
Что выведет код?