Python for kids · Level 1 · Unit 7: Functions: teach the computer a new word · Lesson 3
The function gives an answer back

The function gives an answer back

Some functions don't print: they work something out and hand it back with return, like len. Then MAZOON can use the answer in more sums.

MAZOON Academy: coding and AI for kids