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.
Great.
It works now.
Since you are working in Python make sure you are interpreting the error message correctly:
When you see "EXPECTED abc TO EQUAL xyz", it means that your code is returning abc while the correct answer is actually xyz.
Also the error message appears below the input that it fails on, so if you are outputting/printing stuff to console (which your current code is) make sure you read correctly which input it is failing on:
read this if you need more details:
troubleshooting
Why do I do this kata in IDLE and have got such answer as is right in your test, but your test system write to me that number is equal such answer as I got in IDLE?
[296, 293, 290, 287, 284, 281, 278, 275, 272, 269, 266, 263, 260, 257, 254, 251, 248, 245, 242, 239, 236, 233, 230, 227, 224, 221, 218, 215, 212, 209, 206, 203, 200, 197, 194, 191, 188, 185, 182, 179, 173, 170, 167, 164, 161, 158, 155, 152, 149, 146, 143, 140, 137, 134, 131, 128, 125, 122, 119, 116, 113, 110, 107, 104, 101, 98, 95, 92, 89, 86, 83, 80, 77, 74, 71, 68, 65, 62, 59, 56, 53, 50, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, -1]
But I have got answer: 176 in IDLE Shell 3.9.6
The left string is what your code is returning, the right string is the expected/correct answer.
The mistake - easy to miss! - is that there is a trailing whitespace in your code:
'hello ' != 'hello'
I have done this kata and got such answer:
'Hey wollef sroirraw ' should equal 'Hey wollef sroirraw'
I don't understand, where is mistake?
Do I need to add my code?
No because as it says in the kata description:
cycle(22) = -1 since 1/22 ~ 0.0 45 45 45 45 ...
that first zero means it doesn't qualify.
No
1 / 65 = 0,0153846153846154
Answer is 6. not -1
When I tested code I got 14 should equal 13. But there isn't start and end.
Print the input yourself.
My mistake is in: 14 should equal 13. But how can I find mistake in my code. Give me, please, arguments for this test. dont_give_me_five((?,?),13). ? - What is the number?