# This programme will ask for a name and the budget. It will check the budget range and display a message # Collect Input name = input('Name? ') print(f'Greetings, {name}') budget = int(input('Canteen Budget? ')) # Food item variables smoothie = 6.5 pie = 6 wedges = 4.5 new_budget = 0 keep_going = "" while keep_going == "": food = input('Item for purchase? Smoothie, Pie, or Wedges? ') if food == 'smoothie' or 'Smoothie': new_budget = budget - smoothie print(f'Your selected item is a smoothie. You have {new_budget} out of your original budget of {budget} remaining.') elif food == 'pie' or 'Pie': new_budget = budget - pie print(f'Your selected item is a pie. You have {new_budget} out of your original budget of {budget} remaining.') elif food == 'wedges' or 'Wedges': new_budget = budget - wedges print(f'Your selected item are wedges. You have {new_budget} out of your original budget of {budget} remaining.') else: print('Item is unavaliable for purchase.') budget = new_budget # Display output print('Programme has ended. Standby for next transmission.')