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.
The error only occured in the tests. When I submited the code, it worked. Don't really know why, but it did.
Getting this error in Python. Anyone know how to fix this? The variable in question is in the test, not in my code.
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 15, in tests1
u = c
^
NameError: name 'c' is not defined
name4 should not get +20 at the end
Good kata for practicing loops in arrays