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
Prijavite se za ogled zgodovine oddaj
PrijavaPrijavite se za uporabo mentorja UI
PrijavaTests12
Visible tests
Skriti test 7
Skriti test 8
Skriti test 9
Skriti test 10
Skriti test 11
Skriti test 12
They run when you press "Submit" — your whole solution is checked against them so you can't hard-code answers for the visible cases.
Focus radio
Paused · SomaFM · Fluid