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.
not an issue.
Exactly what examples are you missing that isn't in the description or test cases?
What's wrong with it?
This comment is hidden because it contains spoiler information about the solution
It's competitive coding - you are meant to show off a bit ;)
I would never do things like that in production, I think.
Quite handy to generate an error while still staying among the tight constraints of a one-liner, isn't it ;)?
Has an array a method called
pippi
(the name of my awesome cat <3 )?No, so it generates an error :)
Your code is not correct, as it works even for boolean values, while it should not (or rather: it should throw an error).
Hope this helps :)
Hello bugman4,
The code displayed above looks like Python to me, which is just an approved translation from GiacomoSorbi. In cases of doubt/issues please contact him.
Thank you very much.
Cheers,
donaldsebleung