# Title: Cost Calculator # Author: Logan # Date: 2 november # Version: 1 # Purpose: use variables to collect data and display it # Collect input name = input("What is your name? ") print(f"Kia ora {name}") budget = float(input("How much is your budget to spend? ")) # variables smoothie = 6.5 pie = 6 wedges = 4.5 item = input("What do you want to buy? A smoothie, pie or wedges? ") if item == "smoothie": new_budget = budget - smoothie print(f"{name} you selected a smoothie, you have {new_budget} remaining.") else: print("You have entered an invalid option.") #Display output print("The program has ended")