# title:cost calculator # author:holo # date:2.11.26 # purpose:This program wil ask for a name and a budget. It will check the budget range and # display a message # collect input name = input("what is your name?") print(f"Kia ora {name}") budget = int (input("how much is your budget to spend? ")) # variables smoothie = 6.5 pie = 6 wedges = 4.5 food = input("what do you want to buy? A smoothie, pie or wegdes? ") if food == "smoothie": new_budget = budget - smoothie print(f"{name} you selected a smoothie, you have {new_budget} remaining.") if food == "pie": new_budget = budget - pie print(f"{name} you selected a pie, you have {new_budget} remaining.") else: print("i like wedges too ah brooo") # display out print("The program has ended")