Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- budget = float(input())
- season = input()
- location = ''
- place = ''
- if season == 'Summer':
- location = 'Alaska'
- else:
- location = 'Morocco'
- if 0 < budget <= 1000:
- place = 'Camp'
- if season == 'Summer':
- budget *= 0.65
- else:
- budget *= 0.45
- elif 1000 < budget <= 3000:
- place = 'Hut'
- if season == 'Summer':
- budget *= 0.8
- else:
- budget *= 0.6
- else:
- place = 'Hotel'
- budget *= 0.9
- print(f'{location} - {place} - {budget:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement