0

How to fix this i feel something off

vowels = "aeiouAEIOU" word = input() for letters in word: if letters in vowels: print() Why its not working probably

17th Aug 2025, 8:12 PM
Hamza Saber
Hamza Saber - avatar
2 Antworten
+ 2
Are you trying to count the letters that are vowels or are you trying to only print the vowels found ? I believe you are missing the idea that you want to count how many vowels were found ? But i could be mistaken. https://www.sololearn.com/coach/80?ref=app
17th Aug 2025, 8:21 PM
BroFar
BroFar - avatar
0
Idk what to add in print i tried adding letters but it just dont tell how much it give me the letters
17th Aug 2025, 8:12 PM
Hamza Saber
Hamza Saber - avatar