1 peach = 1 2 print('第10天吃之前就剩1个桃子') 3 for i in range(9,0,-1): 4 p = (peach+1) * 2 5 print('第1天共摘了{}个桃子'.format(peach))