Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- budget = float(input())
- statists = int(input())
- dresses = float(input())
- decors = budget / 10
- if statists > 150:
- dresses *= 0.9
- budget -= decors + statists * dresses
- if budget >= 0:
- print(f"Action!\nWingard starts filming with {budget:.2f} leva left.")
- else:
- print(f"Not enough money!\nWingard needs {abs(budget):.2f} leva more.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement