Test for membership with in
inventory = ("a", "b", "c", "d") if "c" in inventory: print "You will live to fight another day."