#Title Cost Calator #Author leo #Date 2.11.26 #purpose This program will ask for a name and the 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 wedges? ") if food == "smoothie": new_budget = budget - smoothie print(f"{name} you selected a smoothie, you have you have {new_budget} remaining.") if food == "pie": new_budget =budget - pie print("name you selected a smoothie, you have {new_budget remaining.") if food == "wedges": new_budget = budget - wedges print(f"{name} you selected a Wedges, you have {new_budget remaining.") else: print("You have entered an invaild opotion") # Display output print("The program has ended.")