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.
Ok, it works this way, thank you, but as I hardcoded
name = 'Jane'
I feel like I didn't do the specification... I don't use the name of the original Thing, and the instructions seem to ask it.
By the way, I find the instruction of the whole kata not really clear...
just declare the variable as a constant in the global scope. That part of the task makes no real sense, just hack it.
I don't know if I must give up or if there is an issue.
I use python.
The last part of this kata asks to create a function that can use 'name' as element to build the string.
However, from a class method, 'name' is not defined, self.name should be called instead or be given as parameter
I tried to provide 'name' with global variable, but codewars doesn't allow that (but it works on my machine).
As I understand, I must provide 'name' out of the scope but I don't know any way that allow me to do that. I thought about using function attributes too, but it would require to call 'fct.name', and this is not the case too