Skip to content

Glossary: Python Basics

Return

Also written: return, returns

A keyword that hands a value back from a function to the code that called it and ends the function immediately. Without it, a function gives back `None`.

Where the book teaches it

Related terms

print()None