0
Why this not code not working as expected?
https://code.sololearn.com/c6Y7G786VGao/?ref=app The loop in this code is not working as expected but why?
2 Answers
+ 2
The loop in the code is working exactly as expected. You simply forgot to reset 'n' to 0 in each iteration.
+ 1
Thanks you so much !