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

43 lines
623 B
Markdown

---
id: 5e7b9f060b6c005b0e76f05a
title: Python 函數
challengeType: 11
videoId: 3JGF-n3tDPU
bilibiliIds:
aid: 631881917
bvid: BV1Xb4y167P4
cid: 376337920
dashedName: python-functions
---
# --question--
## --text--
在 Python 中,關鍵詞 “def” 有什麼作用?
## --answers--
這是一個俚語,代表“這些代碼真的酷斃了”。
---
它表示一個函數的開始。
---
它表示以下的縮進代碼段將被儲存起來以後再用。
---
它代表一個函數的開始,然後接下來的代碼會被儲存到以後使用。
---
以上全都不對。
## --video-solution--
4