执行下面Python代码后,输出的结果是?( )
1 def fun(x, y, *nums): 2 res = x + y 3 for i in nums: 4 res += i 5 return res 6 7 8 print(fun(10, 20, 15, 25, 30))
30
45
100
语法错误