+ 1
How to remove automatic end line in python?
when we use print () after printing the sentences it changes the line automatically. how to remove end line function?
3 Respuestas
+ 4
use for example:
print("Hello World", end = "")
+ 1
1......>>
import sys
sys.stdout.write("67")
## sys.stdout.flush()
## buffering purpose
print('09')
2......>>
print("67",end="")
print("09")
+ 1
yupp...it works☺