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.
This comment is hidden because it contains spoiler information about the solution
Hi. What exactly is the problem with the while loop?
Already answered in your other post, the problem was you used elsif there:
There it was your = in a conditional
The current code works (see how you use proper markdown so your code doesn't lose indentation and such).
spoiler
tag if you need some help.forum
you posted the whole code, not part of it), because of this we can see a correct loop, but we can't see yourelsif
right before the loop which has no condition to be tested on.Also here it can't be marked as containing spoilers.
There it is your
=
in a conditionalThis is asking a wrong question in a wrong place...