Update count_vowels.md

This commit is contained in:
sam lee
2018-12-06 02:49:30 +08:00
committed by GitHub
parent 05751a72a5
commit f1e3f68068

View File

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