def mooon(weight, mnog): for year in range(1, 15): total_weight = weight * mnog print('Year %s = %s' % (year, total_weight)) mooon(100, 25)
Standard input is empty
Year 1 = 2500 Year 2 = 2500 Year 3 = 2500 Year 4 = 2500 Year 5 = 2500 Year 6 = 2500 Year 7 = 2500 Year 8 = 2500 Year 9 = 2500 Year 10 = 2500 Year 11 = 2500 Year 12 = 2500 Year 13 = 2500 Year 14 = 2500