codewar练习

Posted likepython

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了codewar练习相关的知识,希望对你有一定的参考价值。

1确定一个字符串中有多少个元音字母

def getCount(inputStr):
    return len([a for a in inputStr if a in "aeiou"])

以上是关于codewar练习的主要内容,如果未能解决你的问题,请参考以下文章