+ 1
Help me improve the output?
Suggest some tips. https://code.sololearn.com/c0iWIuByT3VN/?ref=app
2 Respostas
+ 2
You print the result in the loop, so it gets (partially) printed each time.
Just move that line below the braces of the loop.
+ 1
Thanks