st = list(st) vowels = 0 for x in range(0, len(st)): if st[x] in ['a', 'e', 'i', 'o', 'u']: vowels = vowels+1 return vowels