79640769

Date: 2025-05-27 15:24:55
Score: 2
Natty:
Report link

the last line of version 1 doesn't access your farm list at index i . instead, it creates a new list containing just i, like [0], then tries to access its elements: [i][0] returns i

[i][0] causes an indexerror because [i] has only one item

corrected: print(farm[i][0], " : ", farm[i][1], "days left"0

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: aashu