Advertisement
Spocoman

Annual Salary

Sep 23rd, 2023
1,088
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. experience = int(input())
  2. specialty = input()
  3.  
  4. salary = 0.0
  5.  
  6. if specialty == "C# Developer":
  7.     salary = 5400
  8. elif specialty == "Java Developer":
  9.     salary = 5700
  10. elif specialty == "Front-End Web Developer":
  11.     salary = 4100
  12. elif specialty == "UX / UI Designer":
  13.     salary = 3100
  14. elif specialty == "Game Designer":
  15.     salary = 3600
  16.  
  17. if experience <= 5:
  18.     salary -= salary * 0.658
  19.  
  20. print(f"Total earned money: {salary * 12:.2f} BGN")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement