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) # 函数名重复只能使用最后的那一个
转载于:https://www.cnblogs.com/wf-skylark/p/9008591.html