--- 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