def peaches(day, peach): if day == 1: return peach else: return peaches(day - 1, (peach + 1) * 2) total = peaches(10, 1) print(total)