+ 1

How to print something and stay on the same line in Python, because print ("xtz....") will print and move onto the next line

21st May 2020, 6:29 AM
Shubham Pawar
3 Answers
+ 6
print("something", end="")
21st May 2020, 6:37 AM
Kevin ★
+ 2
print ("xtz...", end="")
21st May 2020, 7:33 AM
Abhishek Tandon
Abhishek Tandon - avatar
+ 1
Thanks
21st May 2020, 6:40 AM
Shubham Pawar