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.
Has everyone forgotten that there's 3 months in a quarter?
This was how I was going to approach it. I defined the variable inside the for loop though
This comment is hidden because it contains spoiler information about the solution
If the list is going to be filtered, it's going to have to be mutated. I still don't understand why the test cases would not work. What's wrong with having a mutated list? The indexes stay the same?
This comment is hidden because it contains spoiler information about the solution
Why doesn't the .remove() method work for this kata? I did an if statement inside a for loop instead of returning a new list. Should've worked, because it worked for the sample test. Also, the logic is sound because the kata specifically required filtering the list. What am I missing?
I think the issue I'm having with instructions is what are you asking specifically to be returned? Price seems to be what you deemed "High Street Cost".
Yeah, you could do more if-elif-else statements. The one this user wrote is specific to this kata's sample tests.
Yeah, you could do more if-elif-else statements. The one this user wrote is specific to this kata's sample tests.
I'm sure this worked for the sample tests, but it won't work for any other strings.
This comment is hidden because it contains spoiler information about the solution
The Python solution is super easy. Python, baby.