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.
put these at the beginning of your code:
print("-->" + form_ + "<--")
print("-->" + txt + "<--")
this way you can see the inputs
what language are you using?
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
n = 2m+1
holds for negativen
just as for positiven
. So,No.
31 or -31?