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
Ok, I asked ChatGPT and it told me that if a: checks if the list is empty or not as an empty list return false and a non-empty list will return true. This is needed becuase min function don't work with empty lists.
This comment is hidden because it contains spoiler information about the solution
Read the error message:
Your output has a trailing space.
You're correct. However, I placed correctly now and it's still not working. Could you please advise?
Your solution has a bug, the
return
is misplaced and causes incorrect behavior.Bugs in your solution are not a kata issue.
This comment is hidden because it contains spoiler information about the solution