print("Welcome to the Movie program") print("To use this program you will enter the number of tickets you want to purchase and how much the ticket cost") print("If you purchase 8 or more tickets you receive a 25% discount off the total cost.") print("..lets begin.") repeat = "" while repeat == "": num_tickets = float(input('How many tickets are you buying? ')) ticket_price = float(input('What is the ticket price? ')) total_cost = num_tickets * ticket_price if num_tickets >= 8: discount = total_cost * 0.25 price_to_pay = total_cost - discount print(f"You receive a discount of {discount}") print(f"The total amount is ({num_tickets} x ${ticket_price}) - ${discount} = ${price_to_pay}") else: print("No discount applied") print(f"The total amount is {num_tickets} x ${ticket_price} = ${total_cost}") repeat = input("To repeat the program press any key or " "enter or any other key to end it") print('The program has ended')