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! noted
I have 5 full months of Python so I worked with what I knew .
Anyway the ask was to resolve, not to make it fast or beautiful.
Make more difficult kata for this grade .
In my local environment with my solution I can fail this, as expected, since 90 is smaller than 90.00000000000001:
"90.00000000000001, 1"
but all starts to work if I add more to mantissa (this one passes):
"90.000000000000001, 1" and also all floats up to 90.000000000000006.
Strange float round up from Python..
Maybe it's a good idea to put a condition so that the mantissa would not have more than 8 decimals (or how exact your location need be)
agree with Chrono79, my JS solution also works around all given tests. You should add his test case too.
Here's another I can pass:
([]}{[])