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