โ† All lessons

Lesson 18 of 62 ยท about 14 minutes

Return Values โ†ฉ๏ธ

Return Values โ†ฉ๏ธ A function is like a little machine: values go in through the parameters and a result comes back out through return . Getting comfortable with that "out" half is what turns functions from a way of tidying code into real building blocks youโ€ฆ

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons