79438806

Date: 2025-02-14 08:55:15
Score: 1
Natty:
Report link

The issue here is that your loop starts at 0, which causes the first printed value to be 0. You can fix this by starting from 1 instead. Here's the corrected code.

>>> for i in range(1, int(input()) + 1):
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rohit Rawat