Output
print function
The print function prints output to the console.
Reference: https://docs.python.org/3/library/functions.html#print
String Concatenation and Formatting
String concatenation is the operation of joining character strings. In Python, there are several ways to concatenation strings.
Comma
String Concatenation
String Interpolation
Format Literals
Python 3.6 introduced format literals, with a more elegant syntax (less redundancy).
Last updated
Was this helpful?