wage_calc.py 348 B

123456789101112
  1. BASE = 190000000
  2. LEVEL = 2500000
  3. EDUCATION = 900000
  4. print('Level Kennis Wage')
  5. for stat in range(60, 86, 5):
  6. print('{:2} {:3} $ {:,}'.format(
  7. stat,
  8. (stat - 35) * 10 - 200,
  9. BASE + LEVEL * stat + EDUCATION * ((stat - 25) * 10 - 200)
  10. ).replace(',', '.'))