Files
freeCodeCamp/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/build-your-own-functions.english.md
Oliver Eyton-Williams bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

71 lines
825 B
Markdown

---
id: 5e7b9f060b6c005b0e76f05b
title: Build your own Functions
challengeType: 11
isRequired: true
videoId: nLDychdBwUg
---
## Description
<section id='description'>
More resources:
- <a href="https://www.youtube.com/watch?v=ksvGhDsjtpw" target='_blank'>Exercise</a>
</section>
## Tests
<section id='tests'>
```yml
question:
text: |
What will the following Python program print out?:
```python
def fred():
print("Zap")
def jane():
print("ABC")
jane()
fred()
jane()
```
answers:
- |
Zap
ABC
jane
fred
jane
- |
Zap
ABC
Zap
- |
ABC
Zap
jane
- |
ABC
Zap
ABC
- |
Zap
Zap
Zap
solution: 4
```
</section>