└── Registr /Registr: -------------------------------------------------------------------------------- 1 | def get_vowels(String): 2 | return [each for each in String if each in "aeiou"] 3 | get_vowels("animal") # [a, i, a] 4 | get_vowels("sky") # [] 5 | get_vowels("football") # [o, o, a] 6 | --------------------------------------------------------------------------------