+ 2

Line spacing in output

Can you space your lines out for it to show in the output area? Like for it to spaced out when your run the code? Because I tried using the three quotation marks but when it ran, it was still together with no spacing. Can that be fixed?

9th Nov 2018, 1:41 PM
Lily Ofori-Amanfo
Lily Ofori-Amanfo - avatar
2 Respuestas
+ 4
Like this? Three methods shown... https://code.sololearn.com/cR5LJOQJ63j3
9th Nov 2018, 4:49 PM
John Wells
John Wells - avatar
+ 1
You can also use print(arg1, arg2, sep="\n\n") This will separate the passed arguments by an empty line.
12th Nov 2018, 10:55 AM
Mayur Garg
Mayur Garg - avatar