bl00dt3ars

06. Godzilla vs. Kong

Oct 12th, 2020 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. budget = float(input())
  2. statists = int(input())
  3. clothing = float(input())
  4. decor = budget * 0.1
  5.  
  6. if statists > 150:
  7.     clothing *= 0.9
  8.  
  9. costs = decor + statists * clothing
  10.  
  11. if budget < costs:
  12.     print("Not enough money!")
  13.     print(f"Wingard needs {costs - budget:.2f} leva more.")
  14. else:
  15.     print("Action!")
  16.     print(f"Wingard starts filming with {budget - costs:.2f} leva left.")
Add Comment
Please, Sign In to add comment