Back to Freecodecamp

Python Functions

curriculum/challenges/english/blocks/python-for-everybody/5e7b9f060b6c005b0e76f05a.md

latest457 B
Original Source

--questions--

--text--

What is the purpose of the "def" keyword in Python?

--answers--

It is slang that means "The following code is really cool."


It indicates the start of a function.


It indicates that the following indented section of code is to be stored for later.


It indicates the start of a function, and the following indented section of code is to be stored for later.


None of the above.

--video-solution--

4