def test1(): print('Hello World') def test1(a, b, c): print('third Hello World') def test1(a, b): print('second Hello World') test1(1, 2, 3) # 函数名重复只能使用最后的那一个
def test1(): print('Hello World') def test1(a, b, c): print('third Hello World') def test1(a, b): print('second Hello World') test1(1, 2, 3) # 函数名重复只能使用最后的那一个