from fractions import Fraction from functools import reduce def product(fracs): ## fracs is a list of Fraction objects from the subsequent function call t = Fra