Create a function in Python that accepts a single word and returns the number of vowels in that word. In this function, only a, e, i, o, and u will be counted as vowels — not y.
num_vowels = sum(1 for char in statement if char in vowels) num_consonants = sum(1 for char in statement if char.isalpha() and char not in vowels) ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する