Files
miyaliu666 3ea2fe4f77 feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30

72 lines
680 B
Markdown

---
id: 5e7b9f060b6c005b0e76f05b
title: Build your own Functions
challengeType: 11
videoId: nLDychdBwUg
bilibiliIds:
aid: 249487483
bvid: BV1Fv411J7bS
cid: 376340281
dashedName: build-your-own-functions
---
# --description--
More resources:
\- [Exercise](https://www.youtube.com/watch?v=ksvGhDsjtpw)
# --question--
## --text--
What will the following Python program print out?:
```python
def fred():
print("Zap")
def jane():
print("ABC")
jane()
fred()
jane()
```
## --answers--
<pre>Zap
ABC
jane
fred
jane</pre>
---
<pre>Zap
ABC
Zap</pre>
---
<pre>ABC
Zap
jane</pre>
---
<pre>ABC
Zap
ABC</pre>
---
<pre>Zap
Zap
Zap</pre>
## --video-solution--
4