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.
W3schools article of functions might help you
it has one though(name)
From the description:
In Python it says the name is missing when it is there.
Try it for yourself before marking this resolved.
Understood, Thank you.
If you don't know what that means do some research.
Traceback (most recent call last): File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper func() File "/workspace/default/tests.py", line 14, in basic_test_cases test.assert_equals(how_many_light_sabers_do_you_own(), 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: how_many_light_sabers_do_you_own() missing 1 required positional argument: 'name':
The basic test cases seem to have a problem (?) (Langugue: Python) My code passes all test except this one and this is the error I get when I run it. Even when I remove my code and just return it without any values (ie. pass) this issue still remains. I do not know whether I should mark this as an issue.
ranks cannot be changed
This should be 7 kyu IMO. Feels weird to do a difficult 5 kyu for hours, then finish another 5 kyu in just 5 minutes.
Very cool kata, and is also a bit different from what we are used with
This comment is hidden because it contains spoiler information about the solution
It could even 7 Kyu if you ask me
I'm a bit surprised so few people try an O(1) solution
Don't post solutions in Discourse, please. You've have already been warned and you keep doing it, just don't.
Loading more items...