On Sat, Dec 14, 2013 at 12:30:58PM -0800, Faisal Anees wrote:
>    I got this error TypeError: op_add expected 2 arguments, got 3
>    but reduce(add, [Rational(1, i) for i in egyptian(Rational(18, 77),
>    "Greedy")]) is working after I imported add from operator

Well, then that's a good opportunity to learn help(reduce) for you.

I can't tell you more, unless you give me an exact code you run.