Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Fractions

import fractions

print(fractions.Fraction(1.5))

print(fractions.Fraction(5))

print(fractions.Fraction(1,3))
 
PREVIOUS NEXT
Tagged: #Python #Fractions
ADD COMMENT
Topic
Name
9+2 =