Ładowanie zadania…
Sometimes you need to mask part of a string by replacing certain characters with one shared symbol. The function replace_vowels receives a string s and replaces every English vowel a, e, i, o, and u with *. Letter case does not matter, so uppercase and lowercase vowels are replaced the same way.
"hello""h*ll*""xyz""xyz"""""def replace_vowels(s: str) -> str:
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj się"hello""h*ll*""xyz""xyz""""""AEIOU""*****""Python""Pyth*n"" "" "