def (a,b,c): print(a+b) nums=(1,2,3) f(*nums)
应该是 def f(a,b,c) 吧*nums把元组解包,变成三个数字,调用自定义函数 f相当于 f(1,2,3)a=1, b=2, c=3函数运行的结果就是打印a+b所以结果是3