7 Antworten
+ 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