Teo_Yanchev

movie_profit

Jul 7th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. name_movie = input()
  2. count_days = int(input())
  3. count_tickets = int(input())
  4. tickets_price = float(input())
  5. percent_for_cinema = int(input())
  6.  
  7. price_tickets_per_day = tickets_price * count_tickets
  8. full_period_income = count_days * price_tickets_per_day
  9. cinema_percent = full_period_income * percent_for_cinema / 100
  10. income_from_movie = full_period_income - cinema_percent
  11. print(f"The profit from the movie {name_movie} is {income_from_movie:.2f} lv.")
Add Comment
Please, Sign In to add comment