+ 1

How to give a space b/w the string ..? Like for example: "good""good"

13th Aug 2019, 11:01 AM
Pooja M R
Pooja M R - avatar
3 Réponses
+ 2
print("good" + " " + "good") Is this what you want?
13th Aug 2019, 11:07 AM
Paul
Paul - avatar
+ 1
"good" + "good"? "".join("good", "good")?
13th Aug 2019, 11:07 AM
Seb TheS
Seb TheS - avatar
+ 1
print("good", "good", sep=" ")? Could you please explain better?
13th Aug 2019, 1:43 PM
Trigger
Trigger - avatar