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.
Seems fine to me. Try saving your code and use the 'reset' button which should reset the tests.
Tests are messed up.
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 11, in test_case
2: (s, "fat"),
^
NameError: name 's' is not defined
Maybe 6 kyu. It took me some time to solve it.
Nice job! i solved it in a similar way.
When i first looked at the problem i said too easy.. i can solve this in 1 minute.. it took me 30 minutes, dont underestimate any problem guys, anyways, pretty fun!
Thank you!
else statement is not necessary.
Instead of creating a new char in lowercase and uppercase, you could for every char, use the method
of the class Character: Character.toLowerCase(char)