+ 1
You almost had it. assign it again to s and print the result after loop s=input() vowels="aeiouAEIOU" for ch in vowels: s=s.replace(ch,'*') print(s)
6th Sep 2018, 7:03 PM
Matthias
Matthias - avatar
- 2
vowels="aeiouAEIOU" for ch in vowels: vowels=vowels.replace(ch,'*') print(vowels)
6th Sep 2018, 7:29 PM
Sousou
Sousou - avatar