1# Program to show the use of lambda functions
2double = lambda x: x * 2
3
4print(double(5))
1multiply = lambda x,y: x * y
2multiply(21, 2) #42
3#_____________
4def myfunc(n):
5 return lambda a : a * n
6
7mydoubler = myfunc(2)
8print(mydoubler(11)) #22