my_list = ['apple', 'banana', 'cherry'] if 'apple' in my_list: print('Yes, apple is in the list.') else: print('No, apple is not in the list.')