def day(n): #第n天的桃子 if n==10: return 1 # one peach return 2* day(n+1) + 2 res = day(1) #断点 右键选择Debug 项目名称 step over F8一步步调试 print(res)