+ 2
How to add spaces within variables and string?
5 Respuestas
+ 7
You can use print() or add "\n" at the end of the string.
x = 123.456
print(x)
print()
x = "This is a string"
print(x + "!\n")
#rest
+ 4
Use comma or just add space between them
print("?" , d)
print(e , '!')
OR
print("?" +" "+ d)
print(e +" "+'!')
+ 2
Thank you both Anshika and Simba 😊 Will try both of your suggestions
0
please learn to me phyton
0
haw to learn phyton please give me some ideia