MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/4nd3lc/scientific_python_cheat_sheet/d43gd3w/?context=3
r/Python • u/Link2mypast • Jun 09 '16
62 comments sorted by
View all comments
2
generators:
x = [for i in firstn(10)]
should be:
x = [i for i in firstn(10)]
2 u/tfhoon Jun 10 '16 thanks for pointing that. it's been edited and made clearer.
thanks for pointing that. it's been edited and made clearer.
2
u/qu4ku Jun 10 '16 edited Jun 10 '16
generators:
should be: