Count The Vowels In A String | Python Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

great explanation. I ran into identical problem in book and our video is much appreciated.

Nathan-fd
Автор

i dont understand video is 3:59 but wehn i serch i see video was 4:00 is this youtube glich

ontrend
Автор

Hi new to python here,
For counting the vowels in a string which is very similar to the example in this video instead line 4 is written as
if ch == ‘a’ or ‘e’ or ‘i’ or ‘u’ :
count += 1

As the result it returns the whole characters instead of the vowels, any ideas why it’s not counting the vowels?

Olga-yefi
welcome to shbcf.ru