def get_words(): message = "Write one Python program every day" words = message.split() print(type(words)) return wordsfor item in list_of_lists: isinstance(item, list)if isinstance(ini_list1, list): print("your object is a list !") else: print("your object is not a list")thelist = ["apple", "avocado", "banana"] inpt = input("Check an item in the list: ") if inpt in thelist: print(inpt, "is in the list!")# app.py listA = ['Stranger Things', 'S Education', 'Game of Thrones'] if 'Dark' in listA: print("Yes, 'S Eductation' found in List : ", listA) else: print("Nope, 'Dark' not found in the list") ''' check if element NOT exist in list using 'in' ''' if 'time' not in listOfStrings : print("Yes, 'time' NOT found in List : " , listOfStrings)