Files
freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-with-python/python-for-everybody/build-your-own-functions.md

672 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f060b6c005b0e76f05b 编写你自己的函数 11 nLDychdBwUg
aid bvid cid
249487483 BV1Fv411J7bS 376340281
build-your-own-functions

--description--

更多资源

- 练习

--question--

--text--

下面这个 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

--video-solution--

4