Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- years = int(input())
- prof = str(input())
- money = 0.0
- if prof == "C# Developer" and years <= 5:
- money = 54.0 * 34.2
- if prof == "Java Developer" and years <= 5:
- money = 57.0 * 34.2
- if prof == "C# Developer" and years > 5:
- money = 5400.0
- if prof == "Java Developer" and years > 5:
- money = 5700.0
- if prof == "Front-End Web Developer" and years <= 5:
- money = 41.0 * 34.2
- if prof == "UX / UI Designer" and years <= 5:
- money = 31.0 * 34.2
- if prof == "Front-End Web Developer" and years > 5:
- money = 4100.0
- if prof == "UX / UI Designer" and years > 5:
- money = 3100.0
- if prof == "Game Designer" and years <= 5:
- money = 36.0 * 34.2
- if prof == "Game Designer" and years > 5:
- money = 3600.0
- print("Total earned money: ", end='')
- print("%.2f" % round(money*12.0, 2), end='')
- print(" BGN")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement