Run ID:69888

提交时间:2024-04-10 21:45:44

def count_peaches(day, left): if day == 1: return left else: return count_peaches(day - 1, (left + 1) * 2) total_peaches = count_peaches(10, 1) print(total_peaches)