Please enable JavaScript to use CodeHS

CodeHS Glossary


Function body General

In Python functions, the function body is the indented block of code that comes after the `def my_function():` line. The function body is what will be executed when the function is called.