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