Thursday, September 10, 2015

lamda example in python

def mysqr(x):
lambda x : x ** 2
items=[324,324,324,324,324,324,324,32,432,4324]
print list(map(mysqr,items)