0

How to print the space at output

Just like i want print my name 3 times but my name is print 3 times without sapcing so how can i print each word with space

6th Apr 2020, 6:36 PM
shailesh jambhulkar
shailesh jambhulkar - avatar
4 Antworten
+ 6
A thousand of ways. I show you some print("name name name") print("name"+" name"+" name") print("name "+"name "+"name") a = "name "*3 a.remove(a[len(a)-1]) print(a) note: have a clear vission to the codes.
6th Apr 2020, 6:54 PM
M Tamim
M Tamim - avatar
+ 2
print(("<name>"+" ")*3)
6th Apr 2020, 7:12 PM
ANJALI SAHU
+ 1
Thank u so much tamin sir and shahu sir
6th Apr 2020, 7:16 PM
shailesh jambhulkar
shailesh jambhulkar - avatar
+ 1
a=input("enter name:") for i in range(3): print (a,end=" ")
7th Apr 2020, 9:46 AM
Ashish Singh
Ashish Singh - avatar