#Title: Movie challange #Author: Luke Ellison #Date: 8/06/26 #Versoin: 1 #Purpose: to workout how much do the tickets for a group of people at the movies. 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") ticket_amount = int(input("How many tickets are you buying? ")) ticket_price = float(input("What is your ticket price? ")) old_full_price = ticket_amount * ticket_price if ticket_amount >= 8: discount = old_full_price * 0.25 new_full_price = old_full_price * 0.75 print(f"You receive a discount of {discount}") print(f"The total amount is (${old_full_price} - ${discount}) = ${new_full_price}") else: print("No discount applied") print(f"The total amount is {ticket_amount} x ${ticket_price} = ${old_full_price}") # Display output print("The program has ended")