Vowel Checklist
A set is useful when you care whether characters appear at all, not how many times they repeat. The function has_all_vowels receives a string s and checks whether it contains all five vowels: a, e, i, o, and u. Letter case does not matter, so uppercase and lowercase vowels count the same.
Примеры
Ввод
"education"Вывод
TrueВвод
"sequoia"Вывод
TrueВвод
"hello"Вывод
FalseНужно реализовать
def has_all_vowels(s: str) -> bool:
Теги
stringsset
Connectez-vous pour voir l'historique des soumissions
Se connecterConnectez-vous pour utiliser le Mentor IA
Se connecterVisible tests
1
Input
"education"Expected
True2
Input
"sequoia"Expected
True3
Input
"hello"Expected
False4
Input
""Expected
False5
Input
"AEIOU extra"Expected
True6
Input
"ab"Expected
FalseFocus radio
Paused · SomaFM · Fluid