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