I am beginner in pythonI see the use of lambda has been for really simple ones 
as in the numerous examples over the net.Why cant we use lambda in another one 
like g = lambda x: (lambda y: y + 1) + 1when I am able to do that in two lines
h = lambda x: x + 1>>> h(12)13y = lambda x: h(x) + 1>>> y(1)3

thanksrakesh                                      
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to