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