Unpacking iterables into function arguments PREMIUM

Topic Series: Functions

Trey Hunner smiling in a t-shirt against a yellow wall
By Trey Hunner

Topic Trail: Functions

Python, like many programming languages, has functions. A function is a block of code you can call to run that code.

Python's functions have a lot of "wait I didn't know that" features. Functions can define default argument values, functions can be called with keyword arguments, and functions can be written to accept any number of arguments.

To track your progress on this Python Morsels topic trail, sign in or sign up.

0%