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.
Someone already told me 2 years ago but thanks.
oh haha, thanks!
I don't understand why every response he makes is so passive-aggressive. You'd think he hates to responding to people how he acts.
I'm confused, this isn't working in PyCharm because it doesn't know where the dict_scores variable is coming from.
`
def getCount(word):
print(len([current_letter for current_letter in word if current_letter.lower() in 'aeiou']))
getCount('Abracadabra')
`
Would run slightly faster as a list comprehension. Also, because strings are indexed by letter, "aeiou" doesn't need separate strings.
The basic tests pass with no issue, but many of the attempt cases fail. The kata does not tell you what the input was on these so I have no idea how to debug this.
I had commented apologizing for my mistake, but it's not here now, so, sorry.
This comment is hidden because it contains spoiler information about the solution
OK I'm an idiot, nevermind.
Actually, every error is this specific IP.
I put my reply directly to you, but it made a new comment for some reason.
This comment is hidden because it contains spoiler information about the solution
This is definitely bugged. Instructions state that 1.2.3.4 is valid, but output is saying 1.2.3.4 is invalid.
Oh I figured it out now, I was printing instead of returning, thanks
Loading more items...