word_list = ['Egypt',
'Watching',
'Eleanor']
vowels = ['A',
'E',
'I',
'O',
'U']
Is valid Invalid Is valid
# for each item in the word_list,
for word in word_list:
# if any word starts with e, where e is vowels,
if any([word.startswith(e) for e in vowels]):
# then print is valid,
print('Is valid')
# if not,
else:
# print invalid
print('Invalid')
Is valid Invalid Is valid