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