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.
why can we use the while loop in here? someone can explain?
use'while', not'if'
Fixed now.
you can't remove items from a list that you are itterating over. need to create a copy of that list. (NOTE: copy, not simply set c = a, cuz that will just point to the same list twice.
Replace
with
in the test code.
This comment is hidden because it contains spoiler information about the solution
I dont understand how to write the Test Driven Development of this problem. Thanks!