#This program will ask for a name and age. It will check the age range and #display a message. #Collect input name = input('What is your name? ') print(f'Kia ora {name}') budget = float(input(f'How much is your budget to spend {name}? ')) #food item variables smoothie = 6.5 pie = 6 wedges = 4.5 new_budget = 0 keep_going = '' while keep_going == '': food = input('Are you going to buy wedges, pie or smoothie? ') 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 entered an invalid option') keep_going = input('Do you want to select another item? Press enter if yes, type no if no.') #Display output print('The program has ended')