def test(*, a, b):
print("%s, %s" % (a, b))
# test(1, 2)
test(a=1, b=2)
转载于:https://www.cnblogs.com/chenliang0309/p/10390463.html
def test(*, a, b):
print("%s, %s" % (a, b))
# test(1, 2)
test(a=1, b=2)
转载于:https://www.cnblogs.com/chenliang0309/p/10390463.html