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.
Oops I thought I blurred out the code when uploading the screenshot, my bad! I understand the error message but why doesn't it tell me the value of an input string with which the code failed? It would've been easier if it said that it showed that the code failed when the input was an empty string.
This comment is hidden because it contains spoiler information about the solution
I've implemented my solution with Python and the function returns a list which has passed all tests, however, each "floor" of the tower is displayed in the same line when I run this function.
How can I adjust the code so that each floor (list item) gets displayed in a separate line, while still returning a function (rather than turning a list into a string consisting of line items)?