Functions as Parameters and Return Values
Learn how to use functions as parameters and as return values in Python.
We'll cover the following
Functions as parameters
Consider this function that converts inches to centimeters and prints the result. One inch is 2.54 cm, so the conversion is a simple multiplication.
Get hands-on with 1400+ tech skills courses.