def mooon(weight, mnog): for year in range(1, 15): weight *= mnog print('Year %s = %s' % (year, weight)) mooon(100, 25)
Standard input is empty
Year 1 = 2500 Year 2 = 62500 Year 3 = 1562500 Year 4 = 39062500 Year 5 = 976562500 Year 6 = 24414062500 Year 7 = 610351562500 Year 8 = 15258789062500 Year 9 = 381469726562500 Year 10 = 9536743164062500 Year 11 = 238418579101562500 Year 12 = 5960464477539062500 Year 13 = 149011611938476562500 Year 14 = 3725290298461914062500