|
|
output
|
An output shows texts, values and variables on
the screen.
Texts must be set thereby in quotation marks, so that they can be differentiated
from variables.
Texts and variables can be spent combined, are these by commas to be separated:
Valid expenditures:
"hello world"
"is five plus two: ", 5+2
"x has the value:", x
The expenditure is realized in the Python source text by PRINT instruction:
Text editions:
A character sequence or a variable on the screen spends:
print "hello world"
print "x has
the value:" , x