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.
very good kata
very good kata
Glad I'm not the only one :P
You're not going to get fib(500) with recursion.
This is the best solution, but the point was to do it backwards i think. :)
Nice! But it seems to have only passed 5 tests.
how do you create kata and where?
This is a Python kumite, not a JS one, of course it will say that the syntax is wrong.
yey it worked!!!!!!!!!!!!!!!!!!!!
nice code
Because
name
is an optional argument.I added name but i got an error again!!!
Traceback (most recent call last):
File "main.py", line 3, in
myHero = Hero()
TypeError: init() missing 1 required positional argument: 'name'
__init__
should take 2 parameters, not one.I don't get it?
I got a error!!!!:
Traceback (most recent call last):
File "main.py", line 15, in
newHero = Hero(name)
TypeError: init() takes 1 positional argument but 2 were given