Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print anything in python

print "Hello"
print "Hello", "world" Separates the two words with a space.
print "Hello", 34. Prints elements of various data types, separating them by a space.
print "Hello " + 34. ...
print "Hello " + str(34) ...
print "Hello", ...
sys.stdout.write("Hello") ...
sys.stdout.write("Hello
")
 
PREVIOUS NEXT
Tagged: #print #python
ADD COMMENT
Topic
Name
8+8 =