Codewars
Vowel Count
def getCount(s):
return sum(c in 'aeiou' for c in s)
import re
def getCount(str):
return len(re.findall('[aeiou]', str, re.IGNORECASE))
Tribonacci Sequence
As the name may already reveal, it works basically like a Fibonacci, but summi
原创
2021-08-13 19:19:07 ·
538 阅读 ·
0 评论