Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- budget = float(input())
- season = input()
- destination = ""
- hotel = ""
- price = None
- if budget <= 100:
- destination = "Bulgaria"
- if season == "summer":
- hotel = "Camp"
- price = budget * 0.30
- elif season == "winter":
- hotel = "Hotel"
- price = budget * 0.70
- elif budget > 100 and budget <= 1000:
- destination = "Balkans"
- if season == "summer":
- hotel = "Camp"
- price = budget * 0.40
- elif season == "winter":
- hotel = "Hotel"
- price = budget * 0.80
- else:
- if season == "summer" or season == "winter":
- destination = "Europe"
- hotel = "Hotel"
- price = budget * 0.90
- print(f"Somewhere in {destination}")
- print(f"{hotel} - {price:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement