Ladataan tehtävää…
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"Falsedef has_all_vowels(s: str) -> bool:
Kirjaudu sisään nähdäksesi palautushistorian
Kirjaudu sisäänKirjaudu sisään käyttääksesi tekoälymentoria
Kirjaudu sisäänThey run when you press "Submit" — your whole solution is checked against them so you can't hard-code answers for the visible cases.