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.
So, this is apparently one of those challenges where you're supposed to be debugging existing code rather than typing up code. I saw the absolute lack of a code for Python 3, tried to build a code that solved the problem (not noticing the debugging part of the question or the "Can't change more than six lines thing"), and didn't understand why my 50-line code was running errors when it was giving the exact numerical values it was looking for. If you're having similar issues... now you know. Hope HackerRank fixes this soon, but if the age of some of these comments are saying anything, I'm not gonna hold my breath
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Operations 4
You are viewing a single comment's thread. Return to all comments →
So, this is apparently one of those challenges where you're supposed to be debugging existing code rather than typing up code. I saw the absolute lack of a code for Python 3, tried to build a code that solved the problem (not noticing the debugging part of the question or the "Can't change more than six lines thing"), and didn't understand why my 50-line code was running errors when it was giving the exact numerical values it was looking for. If you're having similar issues... now you know. Hope HackerRank fixes this soon, but if the age of some of these comments are saying anything, I'm not gonna hold my breath