Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sergeykish
on Jan 20, 2021
|
parent
|
context
|
favorite
| on:
Again on 0-based vs. 1-based indexing
I see children losing hours on range(1, 12) in Python, have you noticed error? Unsafe defaults introduced to reuse function as
for i in range(len) # 0, 1, ..., len - 1
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: