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.
It's a shame that I didn't understand the solution algorithm correctly and went in the wrong direction. Great kata!
It`s look great
thx
This comment is hidden because it contains spoiler information about the solution
I used lower()
I didn't find the answer to my question, it gives an error
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 8, in basic_tests
test.assert_equals(duplicate_count(""), 0)
File "/workspace/default/solution.py", line 5, in duplicate_count
for i in text:
TypeError: 'builtin_function_or_method' object is not iterable
If I make the text small, it gives an error, if I don't, then the task can't be correct
of course
The same thing, but the other two hundred asserts are correct
File "tests.py", line 9
test.assert_equals(find_short("turns out random test cases are easier than writing out basic ones"), 3)
^
IndentationError: unindent does not match any outer indentation level
And what?
Hi, everything works in PyCharm, but Codewars indentation error: indentation does not correspond to any external indentation level. Help xD