fixed count_vowels function return value error

This commit is contained in:
kuingsamlee
2018-12-06 01:45:34 +08:00
parent 02a67bbb76
commit 05751a72a5

View File

@ -9,7 +9,7 @@ import re
def count_vowels(str): def count_vowels(str):
return len(len(re.findall(r'[aeiou]', str, re.IGNORECASE))) return len(re.findall(r'[aeiou]', str, re.IGNORECASE))
``` ```
```python ```python