simplify fractions python

49

simplify fractions python -

>>> from fractions import Fraction
>>> Fraction(98, 42)
Fraction(7, 3)

Comments

Submit
0 Comments