Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- destination = input()
- dates = input()
- night = int(input())
- total_sum = 0
- if destination == "France":
- if dates == "21-23":
- total_sum += 30
- elif dates == "24-27":
- total_sum += 35
- elif dates == "28-31":
- total_sum += 40
- elif destination == "Italy":
- if dates == "21-23":
- total_sum += 28
- elif dates == "24-27":
- total_sum += 32
- elif dates == "28-31":
- total_sum += 39
- elif destination == "Germany":
- if dates == "21-23":
- total_sum += 32
- elif dates == "24-27":
- total_sum += 37
- elif dates == "28-31":
- total_sum += 43
- print(f"Easter trip to {destination} : {total_sum * night:.2f} leva.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement