Hi: I am new to python and programing. I have a silly question that I couldn't solve.
a=[1,2,3,4,5]
for i in a:
print(i,end=' ')
will get a out put:
1 2 3 4 5
There are space between each numbers in the system out print: ( s
means space)
1s2s3s4s5s
How can I remove the last space? The correct out put will be :
1s2s3s4s5