执行以下代码,程序的输出结果是?( )
def weight(n):
if n==1:
return 100
else:
return weight(n-1) +10
print(weight(3))
100
110
120
130