Run
vowels = {'a', 'e', 'i', 'o', 'u'} element = 'a' if element in vowels: print(element, 'is in the list of vowels.') else: print(element, 'is not in the list of vowels.')
Output