Dec-04-2018, 08:50 PM
I need to make a code which prints out the following in just 4 lines of code.
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
And so forth until 100. I'm stuck on how to make python go to a new line after 10,20,30,40,50,60 etc. I know formatting is involved but I'm quite stuck.
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
And so forth until 100. I'm stuck on how to make python go to a new line after 10,20,30,40,50,60 etc. I know formatting is involved but I'm quite stuck.