#Title: Cost Calculator #Author: Theo Ingham #Date: 30/10/2026 #Version: 1 #Purpose: I don't know smoothie = 6.5 wedges = 4.5 pie = 6 name = input('What is your name? ') print(f'Kia ora {name}.') budget = float(input('What is your budget? ').replace('$', '')) selection = input('What do you want to buy? A smoothie, pie or wedges? ') new_selection = selection.lower() if 'smoothie' in new_selection: new_budget = budget - smoothie print(f"{name} you selected a smoothie, you have ${new_budget} remaining.") elif 'wedges' in new_selection: new_budget = budget - wedges print(f"{name} you selected wedges, you have ${new_budget} remaining.") elif 'pie' in new_selection: new_budget = budget - pie print(f"{name} you selected a pie, you have ${new_budget} remaining.") else: print("We don't have that, sorry!") print("Thank you, your order has ended, it will be with you soon.")