79131493

Date: 2024-10-27 21:05:34
Score: 1
Natty:
Report link

Yes, because your for loop starts from 10 and goes till 0, irrespective of explicitly giving it +1. You should change the condition in the loop as below:

for i = 0 to 10 by 1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Parmesh