运行下列Python程序,输出的结果是?( )
s = 0 def f(n): global s for i in range(n): s = s + i return s print(f(f(3))
3
6
9
0