+ 5

What's wrong with the code to count vowels

i wrote code to count no. of vowels in a sentence but instead it's printing no. of all characters. i can't get what's wrong? https://code.sololearn.com/coMP0k9U2rb0/?ref=app

25th Jul 2020, 2:38 AM
Srishty M
Srishty M - avatar
2 Antworten
+ 4
Very close, I modified it a little to use list comprehension https://code.sololearn.com/cHbdLf1Kh6Im/?ref=app
25th Jul 2020, 2:44 AM
Steven M
Steven M - avatar
25th Jul 2020, 5:28 AM
Oma Falk
Oma Falk - avatar