My first code (besides hello world) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

My first code (besides hello world)

https://code.sololearn.com/c1kfEK1y7QR3 Does anyone know how to make a space in the output between the inputs and output?

25th Feb 2018, 8:55 PM
Justin Amos
Justin Amos - avatar
2 Answers
+ 3
You just add them to the string of your question: "Enter ... : " (I used a lot of whitespaces there, just so you get the point)
25th Feb 2018, 8:59 PM
D B
D B - avatar
+ 2
Thanks All. I found that I can use (‘\n’ * n) where n is the number of spaces I need between lines
25th Feb 2018, 10:09 PM
Justin Amos
Justin Amos - avatar