I'm fairly new to Python and have been working on some exercises over the weekend. I'm stuck on a particular one at the moment which requires me to make a cinema booking tickets program. I'm stuck on working out how to give percentage values to certain ages, I've left some comments in my code as for what I need to include some how. There needs to be a 10% discount and 15% discount given to the standard ticket price of 14.95. I'm required to use a function called 'buyTicket()' which I have included with a parameter for the percentage working out step. As of current the program is able to identify the ages but I'm unsure on how to add percentages to the certain ages and then total the ticket prices up after each ticket has been selected. Below is my current code. Any advice on what to include and use is greatly appreciated! Thank you. def cinema(): age = int(input("Please enter your age: ")) if age < 18: print("Sorry. You are not over 18 years old. You cannot watch this movie.") if age >= 18: print("You are allowed to see the film. Standard ticket price is £14.95 ") #twentydiscount = 10% (over 20) #oapdiscount = 15% (over 65) def buyTicket(percentageDiscount): if age <= 20: print("You are under 20 years old. You are eligible for a 10% discount. Your ticket price will be", percentageDiscount) elif age >= 65: print("You are 65 years or over. You are eligible for a 15% discount. Your ticket price will be", percentageDiscount) else: print("You are", age, "years old. Your ticket price will be £14.95") # totalticketprice = (adding up prices of tickets after tickets have been selected each time) while (True): cinema() anotherticket = input("Do you want to find out more information about another ticket? (Yes/No): ") if anotherticket == 'No': exit() buyTicket(percentageDiscount) Continue reading...