Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- budget = float(input())
- season = input()
- costs = 0
- destination = ""
- rests_in = ""
- if budget <= 100:
- destination = "Bulgaria"
- if season == "summer":
- costs = budget * 0.3
- rests_in = "Camp"
- else:
- costs = budget * 0.7
- rests_in = "Hotel"
- elif 100 < budget <= 1000:
- destination = "Balkans"
- if season == "summer":
- costs = budget * 0.4
- rests_in = "Camp"
- else:
- costs = budget * 0.8
- rests_in = "Hotel"
- else:
- destination = "Europe"
- costs = budget * 0.9
- rests_in = "Hotel"
- print(f"Somewhere in {destination}")
- print(f"{rests_in} - {costs:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement