Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Godzila vs Kong
- ********************
- budget = float(input())
- actors = int(input())
- price_dress = float(input())
- decor = 0.10*budget
- if actors >= 150:
- price_dress = price_dress - (0.10*price_dress)
- sum_dress = actors*price_dress
- total_budget = decor+sum_dress
- final_sum = '%.2f' % (abs(budget-total_budget))
- if budget >= total_budget:
- print("Action!")
- print("Wingard starts filming with " + str(final_sum) + " leva left.")
- else:
- print("Not enough money!")
- print('Wingard needs ' + str(final_sum) + ' leva more.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement