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
PostgreSQLv16

Hier verschijnt het resultaat van je code

Visible tests
1
Input
"education"
ExpectedTrue
2
Input
"sequoia"
ExpectedTrue
3
Input
"hello"
ExpectedFalse
4
Input
""
ExpectedFalse
5
Input
"AEIOU extra"
ExpectedTrue
6
Input
"ab"
ExpectedFalse
Focus radio
Paused · SomaFM · Fluid