grepper comment utiliser la fraction
from fractions import Fraction
num1=Fraction(1, 3)
num2=Fraction(1, 7)
print(num1*num2)
Nazário
from fractions import Fraction
num1=Fraction(1, 3)
num2=Fraction(1, 7)
print(num1*num2)