modify count_volwels function of count_volwels module.

This commit is contained in:
kuingsamlee
2018-12-06 12:20:32 +08:00
parent 05751a72a5
commit 9f31d19cff

View File

@ -12,7 +12,7 @@ def count_vowels(str):
return len(re.findall(r'[aeiou]', str, re.IGNORECASE))
```
```python
count_vowels('foobar') # 3
count_vowels('gym') # 0
``` python
count_vowels('foobar') # 3
count_vowels('gym') # 0
```