So I have a string called "mainString1" and it has a list consisting of "pearls diamonds jewels rocks" I have another that contains the input from the user called "enteredList" and I want to subtract anything from "mainString1" that is entered by the user so if they entered "pearls" then it prints "diamonds jewels rocks"
I'm not sure of all that is wrong with the following
Also how would I count to make it read "You still need 3 of the following" or change the number to the appropriate amount needed?
if enteredList.find(mainString1) != 1:
print "You still need the following:"
print mainString1 - enteredList