fork download
  1. salario = 1000
  2. ano = 1996
  3. while ano <= 2020:
  4. salario *= 1.015
  5. ano += 1
  6. print("{0:.2f}".format(salario, 2))
  7.  
  8. #https://pt.stackoverflow.com/q/432854/101
Success #stdin #stdout 0.02s 9188KB
stdin
Standard input is empty
stdout
1450.95