You are viewing a single comment's thread. Return to all comments →
Actually in Python 2, range will is NOT a generator, that only happend in Python 3. in Python 2, you would use xrange if you wanted a generator.
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
Actually in Python 2, range will is NOT a generator, that only happend in Python 3. in Python 2, you would use xrange if you wanted a generator.