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.
name
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.
__init__
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
Loading collection data...
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