+ 1

How do I space out the result of this code print(welcome + name) cause in the result there is no spacing

https://code.sololearn.com/cg31W468BUxZ/?ref=app

28th Oct 2021, 6:20 AM
marc anthony
marc anthony - avatar
2 odpowiedzi
+ 4
print can take any number of arguments, and it will separate them with " " by default So, print(welcome, name) will do the job
28th Oct 2021, 6:57 AM
Angelo
Angelo - avatar
+ 2
You have to put the spaces *inside* the quotation marks.
28th Oct 2021, 6:21 AM
Simon Sauter
Simon Sauter - avatar