#Title: Movie Challenge #Author: Joel Brown #Date: 3/11/26 #Version: 2 #Purpose: The program will ask how many tickets are being purchased and cost for a ticket, to calculate the total price if the criteria is met. 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("..lets begin") option = "y" while option == "y": ## Input people = int(input("How much tickets are you buying? ")) ticket_price = int(input("What is the ticket price? ")) ## Output total = people * ticket_price discount = total * 0.25 if people >= 8: print(f"You will recieve a discount of ${discount}") discounted_total = total - discount print(f"The total amount is (${total} - ${discount}) = ${discounted_total}") else: print("No discount applied") print(f"The total amount is {people} x ${ticket_price} = {total}") ## Extension option = input("Do you want to continue? (y or n) ") ## Display output print("The program has ended.")