0
In while loop for iteration the result is printed in new line why? And how to print all the iteration answer in same line?
2 Answers
+ 1
print(abc, end=' ')
+ 1
what Geo said.. adding , end=' ' to the end of a print function will tell it to not goto next line