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
same to me
This comment is hidden because it contains spoiler information about the solution
now 3.
i really like f strings.
If I can't do it right, I can't do it wrong .. but I would like to do it right.
Listen, I don't blame you. The description is dense, you have to really read it, and for a lot of people on here, English is not their native tongue ( it isn't mine either ). I really would like to have a better description. ( I'm just a bit allergic to two things: people not reading, and people wanting pseudocode instead of a description. )
If anybody can improve the description without taking two screenfuls of text, examples and pseudocode, I am open to suggestions. So far, nobody ever has taken me up on that offer .. ( a lot of my descriptions are this dense. they're meant to be read. )
Great! Then you can propose a better wording. :]
Task
I also have no clue what this kata is asking for
It's asking for an index. I can't make it simpler than that.
Multiple indices may be correct; in this case, return any one of them. If a correct index doesn't exist, return
-1
or an empty value, depending on language.Make sure your function is called greet.