- 3
Please explain this code
I do not understand the repetition https://code.sololearn.com/cjhBFy7TtB0D/?ref=app
2 Answers
+ 2
In this code , you create three for loop :-
1) The first for loop is for printing a line feed after each line is printed .
2) The second for loop is for displaying the numbers in the order
11111
22222
33333
44444
55555
3) The third for loop is for displaying a simple number series whenever the number to be displayed is less than 5 and then you incremented the number to be displayed in the end to make the series look like :-
12345
22345
33345
44445
55555
+ 1
please can you elaborate