What Are Uses Of Lambda
It used to create small anonymous functions at run time. Like e.g.def fun1(x):return x**2print fun1(2)it gives you answer 4the same thing can be done usingsq=lambda x: x**2print sq(2)it gives the answer 4
2009-2016 downloadmela.com. All rights reserved.