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
4 ответов
+ 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.
+ 2
print(("<name>"+" ")*3)
+ 1
Thank u so much tamin sir and shahu sir
+ 1
a=input("enter name:")
for i in range(3):
print (a,end=" ")