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.
My advice is to break the while statemnt over several lines and add a statement that displays the result of each iteration. The patterns show what happens.
To answer the question: true until there is nothing left to replace. Then it ends.
This comment is hidden because it contains spoiler information about the solution
I can't parse line 3. What's the condition that 'while' is checking, and what code does it execute if true?