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.
wut did I just read
very cool
Way late here, but for anyone else reading this: An <odd> % 2 == 1, and an <even> % 2 == 0, both of which can be interpreted as the boolean True (1) and False (0) in Python, respectively. So line 3 is essentially saying odd = True, even = False.
It's already been approved.
Not an issue, check default arguments.
Good morning,
go following error when trying to solve it in python:
Traceback (most recent call last):
File "/workspace/default/src/codewars-test/codewars_test/test_framework.py", line 111, in wrapper
func()
File "tests.py", line 7, in basic_tests
test.assert_equals(arr(), [])
TypeError: arr() missing 1 required positional argument: 'n'
Seems like the test has an error - as i understand it is not solveable by a non moderator.
Thank you for you help!
Best regards, Leon