Print Command Quiz

The first instruction you will most likely learn when using Python is the print() instruction. It is used to display/output a message on screen.

Using Variables
The print command can be used to output the content of a variable:

Using String Concatenation
You can join multiple strings together (string concatenation using +) to print them on a single line:

Casting numbers (e.g integers) into string and vice-versa:
You can convert (cast) a number (e.g integer) into a string using the str() function or convert/cast a string into an integer using the int() function:

Take the Quiz! (open full screen)