The power of Python's print function PREMIUM

Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
4 min. read Python 3.8—3.12
Tags

Python's print function is usually one of the first built-in functions that new Pythonistas learn about, but many Python programmers don't realize how versatile the print function is.

Let's look at some of the secret powers of Python's print function.

Using multiple arguments

Python's print function can accept more than one argument:

...

A Python Tip Every Week

Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.