how to use print command in python
Answers
Answered by
3
Answer:
Examples of output with Python 2.x:
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\n")
Similar questions
English,
2 months ago
Math,
2 months ago
Math,
3 months ago
Biology,
9 months ago
India Languages,
9 months ago