Run ID:69868

提交时间:2024-04-10 14:57:34

def calculate_peaches(days): peaches = 1 for day in range(days - 1, 0, -1): peaches = (peaches + 1) * 2 return peaches total_peaches = calculate_peaches(10) print(total_peaches)