Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Post this in the kata section please, and mark it with a spoiler tag. Don't print the result after returning.
What could the error be in my code to print out the count of vowels
def getCount(inputStr):
num_vowels = 0
for vowels in inputStr:
num_vowels = vowels.count(vowels)
num_vowels = num_vowels+1
continue
return num_vowels
print(getCount("a, e, i, o, u"))