Gabor Szabo <[email protected]> writes: > Hi, > > > > On Thu, Jul 1, 2010 at 5:35 PM, Dov Grobgeld <[email protected]> wrote: > >> Here's another pythonic construct that imo would look nicer. > >> > >> f← λ x: x↑2 > >> a←f〈2〉 > >> > > I have not done any math for a long, long time. Would you mind explaining > what would the above do?
f = lambda x: pow(x,2) a = f(2) _______________________________________________ Python-il mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il
