Answers for "how to use fraction output in python"

2

simplify fractions python

>>> from fractions import Fraction
>>> Fraction(98, 42)
Fraction(7, 3)
Posted by: Guest on May-10-2020

Code answers related to "how to use fraction output in python"

Python Answers by Framework

Browse Popular Code Answers by Language