写出一个递归真的感觉脑袋通畅! def rabbit(n): res = 1 if n < 3: return res else: for i in range(1, n - 1): res += rabbit(i) return res print(rabbit(int(input())))