Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chkas
on Nov 22, 2022
|
parent
|
context
|
favorite
| on:
Always use [closed, open) intervals
With Knuth-Shuffle, it would be:
for i in reversed(range(1, len(x))):
That makes it better, but not much.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: