[newbie] lambda operator
asked 2013-08-15 00:36:24 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Can someone explain me the lambda operator. The first time I saw it was in this code fragment: pi = lambda x: pari(x).primepi()
I do understand pi(x) calculates the number of primes =< x but I don't understand the syntax used to accomplish this
thanks for having patience with a newbie jean