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