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.
Você considerou que a lista terá sempre 3 caracteres, mas não foi definida a quantidade específica nas instruções
you almost wrote a haiku just now
Closing, as it is not a kata issue. Also, why do you have a loop there? You have the return inside it and it won't loop more than once.
Your code currently only works when the list has exactly 3 elements in it.
Try to imagine / picture what would happen if the list had fewer or more than 3 elements.
Can you find a way to rewrite it so it works on lists of any length?