#Title: Movie Challenge #Author: Hunter Stevenson #Date: 03/11/2026 #Version: 1 #Purpose: Ask how many tickets purchased, calculate total price of tickets while True: print('Welcome to the Movie program') print('To use this program you will enter the number of tickets you want to purchase') print(' 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') tickets = int(input("How many tickets are you buying? ")) tprice = int(input("What is the ticket price? ")) total = tprice * tickets if tickets > 7: discount = total * 0.25 dtotal = total - discount print(f'You receive a discount of {discount}') print(f'The total amount is (${total} - ${discount}) = ${dtotal}') else: print('No discount applied') print(f'The total amount is {tickets} x ${tprice} = ${total}') choice = input("Do you want to run the program again? (y/n): ").strip().lower() if choice != 'y': print('The program has ended') break