# Consumer Price Index
cpi = 238.25
accumulatorYear = 0

while cpi < 476.5:
    cpi *= 1.025
    accumulatorYear += 1
print("Consumer prices will double in", accumulatorYear, 'years.')

c2da747629c1dee4de54e27516ecbf1b097dc8e5
<mask token>

<mask token>
while cpi < 476.5:
    cpi *= 1.025
    accumulatorYear += 1
print('Consumer prices will double in', accumulatorYear, 'years.')

cpi = 238.25
accumulatorYear = 0
while cpi < 476.5:
    cpi *= 1.025
    accumulatorYear += 1
print('Consumer prices will double in', accumulatorYear, 'years.')

# Consumer Price Index
cpi = 238.25
accumulatorYear = 0

while cpi < 476.5:
    cpi *= 1.025
    accumulatorYear += 1
print("Consumer prices will double in", accumulatorYear, 'years.')
