Ad
  • Default User Avatar
  • Default User Avatar

    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 .

  • Default User Avatar

    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)

  • Default User Avatar

    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:
    ([]}{[])