prettify-code and update README

This commit is contained in:
Rohit Tanwar
2018-01-09 18:31:34 +05:30
parent 1cb811f877
commit aede69f162

View File

@ -55,7 +55,7 @@ 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)))
```
@ -63,6 +63,7 @@ def countVowels(str):
countVowels('foobar') # 3
countVowels('gym') # 0
```
### gcd
Calculates the greatest common divisor between two or more numbers/lists.