Ddimov90

godzilla_vs_kong_05_02

Sep 22nd, 2025
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | Source Code | 0 0
  1. movie_budget = float(input())
  2. extras = int(input())
  3. clothing_price = float(input())
  4.  
  5. decor = movie_budget * 0.1
  6. extras_total = extras * clothing_price
  7.  
  8. if extras > 150:
  9.     extras_total -= extras_total * 0.1
  10.  
  11. final_price = extras_total + decor
  12.  
  13. if final_price > movie_budget:
  14.     print("Not enough money!")
  15.     print(f"Wingard needs {final_price - movie_budget:.2f} leva more.")
  16. else:
  17.     print("Action!")
  18.     print(f"Wingard starts filming with {movie_budget - final_price:.2f} leva left.")
  19.  
  20.  
  21.  
Advertisement
Add Comment
Please, Sign In to add comment