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.
Honestly this was just guess-work based on intuition, but I'm sure there's some mathematical explanation behind it.
good one. I want to understand how this works. Is there any mathematical formala and proof for this? Please share
Test case fails with below error:
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 17, in basic_test_cases
test.assert_equals(pell.get(inp), exp)
^^^^^^^^^^^^^
TypeError: Pell.get() missing 1 required positional argument: 'n'
Just my lucky guess. Because of test cases count and description. But I don't understand why it is works so. Can anybody explain me? :)
This comment is hidden because it contains spoiler information about the solution
lol, that's funny ;-)
This comment is hidden because it contains spoiler information about the solution
No.
Is this a joke?
I should have listened when the description said "this kata is not about coding skills..."
what if the 'order' contains the value 0x7fffffff (i.e 2147483647, max 32 bit value)? :) code crashes
This comment is hidden because it contains spoiler information about the solution