Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print same line

# Python 2 only
print "Seven"
# Backwards compatible (also fastest)
import sys
sys.stdout.write("Nice film")
# Python 3 only
print("Mob Psycho 100", end="")
 
PREVIOUS NEXT
Tagged: #python #print #line
ADD COMMENT
Topic
Name
8+4 =