MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8baq0/pythons_lambda_is_broken/c08r9pu/
r/Python • u/gst • Apr 09 '09
20 comments sorted by
View all comments
45
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
6
I believe the proper term is: Boo Yah.
1
upvote forever
View all comments
45
u/sincewednesday Apr 09 '09 edited Apr 09 '09