• + 4 comments

    too complicated:

    def product(fracs):
        t = reduce(lambda x, y : x * y, fracs)# complete this line with a reduce statement
        return t.numerator, t.denominator