Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably should've used xrange as well. In the 2.x series, Python's range function returns an actual list.

I believe in 3.x range has been replaced with xrange.



I was assuming Python 3, but yes, you are correct.


> I believe in 3.x range has been replaced with xrange.

Correct.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: