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)                # 函数名重复只能使用最后的那一个

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-07-06
相关资源
相似解决方案