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