+ 4

How to have a blank line between each multiplication table?

https://code.sololearn.com/cLmmZWwL3QgP/?ref=app I want to have a blank line in the ending of every multiplication table. How do I do that?

17th Mar 2019, 3:20 AM
Rakib Islam
Rakib Islam - avatar
6 Réponses
+ 2
for i in range(1, 5): for j in range(1, 11): print(i, 'x', j, '=', i * j) print()
17th Mar 2019, 3:34 AM
Yugabdh
Yugabdh - avatar
+ 2
Then you have intended it wrongly Here: https://code.sololearn.com/cCxsP4JfBo26/?ref=app
17th Mar 2019, 3:49 AM
Yugabdh
Yugabdh - avatar
+ 2
ohh bro thanks. yes I was did it wrongly
17th Mar 2019, 3:51 AM
Rakib Islam
Rakib Islam - avatar
+ 1
I wnat to have a blank line in the ending like 1 x 10 = 10 then a blank line.
17th Mar 2019, 3:39 AM
Rakib Islam
Rakib Islam - avatar
+ 1
yes I tried. But it did a blank line in every line.
17th Mar 2019, 3:44 AM
Rakib Islam
Rakib Islam - avatar
0
Did you try above snippet? Isn't it like what you need?
17th Mar 2019, 3:42 AM
Yugabdh
Yugabdh - avatar