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.
Thanks for pointing out truncate vs rounding, g964!
bkaes, I'm going to think about what you said...
I'm going to repeat myself, but those questions wouldn't have arised if you
(By the way truncating a floating point number to a certain number of decimal places doesn't make sense for large floating point numbers, e.g.
12345678912345e-5
, something you should keep in mind.)The description says:
It's said truncated, not rounded...
Hi guys, I have a problem trying to solve this for the submission cases in Python.
For the third test case,after rounding, this is the response I get:
1.146652 should equal 1.146651
However, when I print out the float prior to rounding, I see that it is 1.14665178571, which, to my understanding, means that the answer should be 1.146652 instead of 1.146651...
Where am I going wrong??