Why does VS Code point out a re-definition of a function as an error?

后端 未结 0 1868
-上瘾入骨i
-上瘾入骨i 2020-12-07 03:25

Consider the code below:

def hello():
    print("First hello")


def hello():
    print("Second hello")


hello()

While r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题