Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
erlanger
16y ago
0 comments
Share
I still find this clearer:
for x in range(1, 10): print x
0 comments
default
newest
oldest
lunchbox
16y ago
I'm nitpicking, but your range should be range(1,11).
erlanger
OP
16y ago
Every nit picked is valuable :)
ansin
16y ago
Not so different in Ruby:
for x in 1..10; print x end
erlanger
OP
16y ago
Yes, but we all know that Ruby is the haven of Devils!!
ansin
16y ago
Ad hominem.
1 more reply
j
/
k
navigate · click thread line to collapse