grepper how to use fraction

Solutions on MaxInterview for grepper how to use fraction by the best coders in the world

showing results for - "grepper how to use fraction"
Liam
08 Apr 2020
1from fractions import Fraction
2num1=Fraction(1, 3)
3num2=Fraction(1, 7)
4print(num1*num2)
5