# check user input against "inventory" # available products products = ["apple", "pear", "peach", "banana"] # as user for input, make it lower case selection = input("What item would you like me to search for?").lower() # check if it is in our inventory if selection in products: print("We have that!") else: print("Sorry, we ran out")