#P1900. 递归练习1

递归练习1

用编程来模拟下面的数学问题:

1, 结束条件

2, 确定每一层的关系

输出下面公式:

image

递交格式如下:

x=int(input())

def f(x):
    xxx
print(f(x))