ucanuupnobb
ucanuupnobb copied to clipboard
函数多个参数,列表表示方法
What gets printed?
def myfunc(x, y, z, a): print(x + y)
nums = [1, 2, 3, 4]
myfunc(*nums)