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