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