You are viewing a single comment's thread. Return to all comments →
import operator def product(fracs): t = reduce(operator.mul , fracs) # complete this line with a reduce statement return t.numerator, t.denominator
easy 1 line
Seems like cookies are disabled on this browser, please enable them to open this website
Reduce Function
You are viewing a single comment's thread. Return to all comments →
easy 1 line