Try this (in bpython): >>> sum(i*i for i in range(10)) Traceback (most recent call last): File "<input>", line 1, in <module> TypeError: sum() takes exactly 2 arguments (1 given)
but in ipython: In [1]: sum(i*i for i in range(10)) Out[1]: 285 In [2]: thankns -- You received this message because you are subscribed to the Google Groups "bpython" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/bpython?hl=en.
