News for hackers. Stuff that matters.
Re:Understanding Python through its builtins by escanor on Sunday October 10, 2021 @04:57PM (#28821910)
> for index, item in enumerate(menu):

should be

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

for the example to be correct :)

Re:Understanding Python through its builtins by tusharsadhwani on Monday October 11, 2021 @12:52AM (#28824789)
you're right, thanks!