def test(x,y,z):
print(x)
print(y)
print(z)
test(2,z=3,y=8)
总结:关键参数不能放在位置参数的前面
def test(x,y,z):
print(x)
print(y)
print(z)
test(2,z=3,y=8)
总结:关键参数不能放在位置参数的前面
681
711

被折叠的 条评论
为什么被折叠?