'howdyin ['hello''hi''howdy''heyas'true spam ['hello''hi''howdy''heyas''catin spam false 'howdynot in spam false 'catnot in spam true for examplethe following program lets the user type in pet name and then checks to see whether the name is in list of pets open new file editor windowenter the following codeand save it as mypets pymypets ['zophie''pooka''fat-tail'print('enter pet name:'name input(if name not in mypetsprint(' do not have pet named nameelseprint(name is my pet 'the output may look something like thisenter pet namefootfoot do not have pet named footfoot you can view the execution of this program at the multiple assignment trick the multiple assignment trick (technically called tuple unpackingis shortcut that lets you assign multiple variables with the values in list in one line of code so instead of doing thiscat ['fat''gray''loud'size cat[ color cat[ disposition cat[ you could type this line of codecat ['fat''gray''loud'sizecolordisposition cat lists