# This program will ask for a name and your budet range and send a message(f"Kia ora{name}!") # 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 wdeges = 6.5 new_budget = 0 keep_going = "" while keep_going == "": food =input("What do you want to buy? A smoothie, pie or wedges? ") if budget >= wedges: if food == "smoothie": new_budget = budget - smoothie print(f"{name}you selected smoothie, you have {new_budget} remaining.") elif food == "pie": new_budget = budget - pie print(f"{name}you selected pie, you have {new_budget} remaining.") elif food == "wedges": new_budget = budget - wedges print(f"{name}you selected wedges, you have {new_budget} remaining.") else: print("You have enterd an invalid option") budget = new_budget keep_going = input print("Do you want to select another item? Press the enter button to continue or exit.") else: print ("Not enough funds!") break # Display output end = input("The program has ended, press enter to exit the program.")