def function(arg1, arg2):
return 'Something'
def trapezoid_area(base_up, base_down, height=3): #默认参数
return 1/2 * (base_up + base_down) * height
trapezoid_area(1,2,3) #位置参数
trapezoid_area(base_up=1, base_down=2, height=3) #关键字参数
+
-
*
/
%
**
//