Index Ai Academy
Glossary · Phase 0 · Tools

Return value

Also written: return values

What a function hands back when it finishes.

Try it now

Python skips the body on line 1 until line 5 calls the function. Each call gets its own frame with its own spend, clicks and cpc, which disappears when the function returns.

Learn it properly

Functions · Package steps into reusable, testable pieces with inputs and outputs. About 25 minutes.

Start this free lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write