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.
Yes, obviously. What I meant is that it's not clear to me what value exactly you use in your code when you mention "actual value of pi'.
Additional thing to notice: I changed tets a bit, added sample tests, and changed some other things. You might want to back up your current solution, refresh the trainer, click "reset", and see what kind of errors you are getting now. Also please read the description again, because it changed too. If you still cant get your code to work, just show what you try (remember about code formatting and spoiler flag).
What else the value of pi be than, uh, pi?
3.14 is not precise enough and will cause inaccurracies.
I am not sure what you call 'actual value of pi' though.
Both 3.14 and actual pi return results that wildly differ from test results.
The OP found an answer to their question.
Non-numeric inputs have been removed from JS version.
Added sample tests to JS version.
Done for JS.
What else the value of pi be than, uh, pi?
With a precision sufficient to fulfill requirements regarding accuracy of returned result.
It is not described what value should "pi".
"should test for something" error, isn't that testmakers job?
Overall badly made kata.
This comment is hidden because it contains spoiler information about the solution
Good meme but it just doesn't work bro.