Hacker News new | ask | show | jobs
by escanor 1714 days ago
> for index, item in enumerate(menu):

should be

> for index, item in enumerate(menu, start=1):

for the example to be correct :)

1 comments

you're right, thanks!