+ 1
How do you delete the last "*" in this array?
3 ответов
+ 4
You cannot "delete" what you have already printed to the screen (at least not on Sololearn).
You print the * character less times than the number.
So you need to write a condition (if) to track the loop variable, and only print the sign when it's not the last element.
+ 5
ty Prasant for helping and Tibor Santa for clarification