Python Output Variables
Output Variables
The Python print
statement is often used to output variables.
To combine both text and a variable, Python uses the
+
character:
You can also use the comma character ,
to print more than one string/variable: