Advertisement
Spocoman

Godzilla vs. Kong

Feb 24th, 2022 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. budget = float(input())
  2. statists = int(input())
  3. dresses = float(input())
  4. decors = budget / 10
  5.  
  6. if statists > 150:
  7.     dresses *= 0.9
  8.  
  9. budget -= decors + statists * dresses
  10.  
  11. if budget >= 0:
  12.     print(f"Action!\nWingard starts filming with {budget:.2f} leva left.")
  13. else:
  14.     print(f"Not enough money!\nWingard needs {abs(budget):.2f} leva more.")
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement