#Title: Cost Calculator #Author: Theo Ingham #Date: 30/10/2026 #Version: 2 #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('$', '')) if budget < 4.5: print("Your budget isn't enough to purchase anything sorry.") elif <6 budget >= 4.5: print("You can buy wedges for $4.50.") elif budget >= 6 < 6.5: print("You can buy wedges for $4.50, or a pie for $6.") elif budget >= 6.5: print("You can buy wedges for $4.50, a pie for $6, or a smoothie for $6.50.") selection = input('What do you want to buy? ') 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.")