Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

grepper how to use fraction

from fractions import Fraction
num1=Fraction(1, 3)
num2=Fraction(1, 7)
print(num1*num2)
 
PREVIOUS NEXT
Tagged: #grepper #fraction
ADD COMMENT
Topic
Name
4+9 =