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.
Why are you using trunc?
Also, check the note, just in case you're using another value of Pi.
This comment is hidden because it contains spoiler information about the solution
put these at the beginning of your code:
print("-->" + form_ + "<--")
print("-->" + txt + "<--")
this way you can see the inputs
Python
what language are you using?
I found it, but either examples and tests dont show a input that it occurs
errors are not random. you're trying to access data from a non-existant index of some container. the error message probably directs you to the line in your code where you made this mistake. try printing the inputs to see what you're dealing with
Passed random test but give me a random error. Dont give me any hint
just say "out of range" but no idea
n = 2m+1
holds for negativen
just as for positiven
. So,No.
I transforme negative to positive numbers, they should have the same odd order. for n<0 in my oppinion should be n=2m+1 or not?
31 or -31?
why 39 is odder than 31?
39 - 39,19,9,4
-31 - 31,15,7,3,1
Could be 8yu