fork download
  1. def mooon(weight, mnog):
  2. for year in range(1, 15):
  3. weight *= mnog
  4. print('Year %s = %s' % (year, weight))
  5.  
  6.  
  7. mooon(100, 25)
  8.  
Success #stdin #stdout 0.04s 9384KB
stdin
Standard input is empty
stdout
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