79707470

Date: 2025-07-19 18:12:56
Score: 1
Natty:
Report link

Aha! I found the problem. The actual problem was not the units, it was the range() function. I forgot that range() actually didn't include the final number. To solve it, I replaced

range(1, int(2)+1)

with

range(1, int(2)+2)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aadvik