A function is a block of instructions with a name, written once and run whenever it is needed. It is defined with def, the name, brackets and a colon, followed by an indented block, its body. A function call is the name followed by brackets: it runs the body.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Function and function call?
又称: function · function call