Appearance
def 函数名([函数参数]): 函数执行体 [return result]
例如:
def calc(a, b): result = a + b return result print(calc(10, 20)) # 30