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.
I had the same problem. The problem is with the range(1,10) bit.
If you replace that with list(range(1,10)) or [1,2,3,4,5,6,7,8,9] it should work!
Hi!
one_two
function already defined in a global scope.You won't need to receive any arguments. You can just call
one_two
fromone_two_three
I don't think that you need one_two function. The instructions are a bit misleading.
As you can see the initial code only requires the one_two_three function without passing any argument.
3rd row of test cases: "count = Counter(one_two_three() for _ in range(length))"
I've checked your solution. Add
print term
afterterm = word.split('ltr')
.When you don't know what's happening, you just print everything.
Have you taken into account that CodeWars console is HTML and the output could look different because of this?
I suggest using hexlified output or
<pre>
tags in prints to make sure that what you see in the print is exactly what you printed.