Could someone tell me how to print result without break but with space.
For example:
for v in range(1,10):
print(v, end='')
output of above would be 123456789. But I want 1 2 3 4 5 6 7 8 9.
I also tried:
for v in range(1,10):
print(v, end=' ')
but this one will be 1 2 3 4 5 6 7 8 9 . <- I don't want last space after 9! help!
Created at: 2016/10/16 08:07; Updated at: 2016/10/17 17:35
The question is resolved.