5 lines
98 B
Python
5 lines
98 B
Python
import re
|
|
|
|
|
|
def count_vowels(str):
|
|
return len(len(re.findall(r'[aeiou]', str, re.IGNORECASE))) |