Update typo.md

This commit is contained in:
Rohit Tanwar
2018-01-09 18:29:43 +05:30
committed by GitHub
parent de225c4cf4
commit 1cb811f877

View File

@ -9,11 +9,11 @@ import re
def countVowels(str):
return len(len(re.findall(r'[aeiou]', 'bcedfidsnoxluAEIO', re.IGNORECASE)))
return len(len(re.findall(r'[aeiou]', str, re.IGNORECASE)))
```
``` python
countVowels('foobar') # 3
countVowels('gym') # 0
```
```