fruits = ['apples', 'bananas', 'pears']
fruit_dict1 = {'apples': 4, 'oranges': 3, 'dragonfruit': 4}
fruit_dict2 = {'oranges': 3, 'dragonfruit': 9, 'pineapples': 4}
Python check if any element in a list is a key in dictionary