#Title: Movie challenge #Author: Ayvah #Date: 8 of June 2026 #Version: 1 #Purpose: Calculate the total price of movie tickets depending on how many tickets. 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') # variables keep_going = '' while keep_going == '': ticket = int(input('How many tickets are you buying? ')) price = int(input('What is the ticket price? ')) if ticket >= 8: new_price = ticket * price percent = new_price * 0.25 discount_price = new_price - percent print(f'You receive a discount of ${percent}') print(f'The total amount is (${new_price} - ${percent}) = ${discount_price}') else: new_price = ticket * price print('No discount applied') print(f'The total amount is {ticket} x ${price} = ${new_price}') keep_going = input('Would you like to select more tickets? Press the enter button to continue or no to exit. ') print('The program has ended')