freeCodeCamp/curriculum/challenges/english/07-scientific-computing-wit.../python-for-everybody/python-functions.md

36 lines
701 B
Markdown
Raw Normal View History

---
id: 5e7b9f060b6c005b0e76f05a
2020-04-22 04:37:02 +00:00
title: Python Functions
challengeType: 11
videoId: 3JGF-n3tDPU
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
question:
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.
solution: 4
```
</section>