7 Answers
+ 4
ĂĆĂ simply write
print(i,end=" ")
instead of
print(i)
+ 3
if you are trying to print your data consecutive like 1234 ,
try
print(number,end="")
+ 3
ĂĆĂ you are welcome đ
+ 2
Thanks very much Mohammad Faheemđđđđ
+ 1
Can you attach your code to give a better understanding of the problem
+ 1
For example this code in IDLE python
for i in range(1, 5):
print(i)
Result:
1
2
3
4
But I want result be this:
1 2 3 4