import math def get_plan(current_production: int, month: int, percent: int): a = [] for i in range(0, month): res = math.floor((current_production) * (100.0 + percent) / 100.0) a.append(res) current_production = res return a print(get_plan(1000, 6, 30))