fixed count_vowels function return value error
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user