Advertisements
for make in range(1, content+1):
print(make)
Result:
1
2
3
4
5
But i want them like this :
1 2 3 4 5 6 7
>Solution :
You need to modify the print command to tell it the separator to use with the "end" argument:
for make in range(1, content+1):
print(make,end=' ')