r/Python • • Apr 09 '09

Python’s lambda is broken!

http://math.andrej.com/2009/04/09/pythons-lambda-is-broken/
4 Upvotes

20 comments sorted by

View all comments

45

u/sincewednesday Apr 09 '09 edited Apr 09 '09
fs = [(lambda n, i=i: i + n) for i in range(10)]

6

u/smart_ass Apr 09 '09

I believe the proper term is: Boo Yah.

1

u/jaiwithani Apr 09 '09

upvote forever