r/Python • Python Morsels • Mar 01 '18

Python: range is not an iterator!

http://treyhunner.com/2018/02/python-range-is-not-an-iterator/
338 Upvotes

64 comments sorted by

View all comments

1

u/[deleted] Mar 01 '18 edited Mar 01 '18

[removed] — view removed comment

1

u/treyhunner Python Morsels Mar 01 '18

Yes that makes me sad too. If folks who teach Python for a living mix this stuff up, it's ridiculous to expect a job candidate to understand this well.