#Amber Evans
#10/22/2020
#program 7-2

#This program demonstrates the in operator
#used with a list

def main():
    #create a list of porduct numbers
    prod_nums = ['V475','F987','Q143','R688']

    #Get a product number to search for
    search= input('Enter a product number: ')

    #Determine whether the product number is in the list
    if search in prod_nums:
        print (f'{search} was found in the list.')

    else:
        print(f'{search} was not found in the list.')

#Call the main function
if __name__ =='__main__':
    main()
    
