📌  相关文章
📜  接受 2 个位置参数,但给出了 3 个 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:58.608000             🧑  作者: Mango

代码示例3
#Positional arguments are the amount of arguments passed through a function
#For example

def function(value1, value2):
    print(value1)
    print(value2)

function("value1","value2","value3")