Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
knome
on Aug 5, 2013
|
parent
|
context
|
favorite
| on:
Sum of 1 to 1000000000 in different programming la...
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.
RussianCow
on Aug 5, 2013
|
next
[–]
I was assuming Python 3, but yes, you are correct.
masklinn
on Aug 5, 2013
|
prev
[–]
> I believe in 3.x range has been replaced with xrange.
Correct.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I believe in 3.x range has been replaced with xrange.