Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- budget = float(input())
- statists = int(input())
- price_dress_per_one = float(input())
- decor = budget * .1
- if statists >= 150:
- price_dress = price_dress_per_one * .90 * statists + decor
- else:
- price_dress = price_dress_per_one * statists + decor
- if price_dress >= budget:
- print('Not enough money!')
- print(f'Wingard needs {price_dress - budget:.2f} leva more.')
- else:
- print('Action!')
- print(f'Wingard starts filming with {budget-price_dress:.2f} leva left.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement