>>> from fraccions import suma_reciprocs ---- inici >>> nbrs = iter((4, 2, 3)) >>> f = suma_reciprocs(nbrs) >>> f Fraction(13, 12) ---- fi >>> nbrs = iter((5, 4, 8, 3)) >>> f = suma_reciprocs(nbrs) >>> f Fraction(109, 120) >>> nbrs = (4, 2, 3, 12, 5, 9, 23) >>> f = suma_reciprocs(nbrs) >>> f Fraction(3149, 2070) >>> nbrs = (7, 15, 4, 8, 2, 3, 12, 5, 9, 23) >>> f = suma_reciprocs(nbrs) >>> f Fraction(107561, 57960) >>> nbrs = [7, 15, 35, 4, 8, 41, 2, 3, 12, 64, 5, 9, 23, 37] >>> f = suma_reciprocs(nbrs) >>> f Fraction(1372615217, 703402560)