Introduction
There are hardly any computer programs and of course hardly any Python programs, which don’t communicate with the outside world. Above a ll a program has to deliver its result in some way. One form of output goes to the standard output by using the print statement in Python. 1
>>> print "Hello User" Hello User >>> answer = 42 >>> print "The answer is: " + str(antwort) The answer is: 42 >>>
It’s possible to put the arguments inside of parentheses: Continue reading print