We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
None of the test data sets for this challenge suffer that problem
The isclose function shouldn't be used without first analysing representative data sets so that you can judge what tolerances are needed (and whether it is needed at all). If you use it without that prior analysis, you risk adding error not reducing it.
Here, it isn't needed.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
You have a point (if you'll forgive the pun), but
Here, it isn't needed.