Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sn6uv
· 13y ago · 0 comments
range(1,4)* because it counts from 1 (range counts from 0).
Comments
[–]
Tobu
13y ago
Starting from zero solves the "one right way to do it" problem which is mentioned in the blog post.
[–]
marcosdumay
13y ago
Yes, but recreates the "a value must be true in a boolean context" problem discussed in the PIP.