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.
This one should work without the while loop, but for some reason you need it in the python3 interpreter. If you run the same thing without the while loop on a terminal it works great
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Regex Substitution
You are viewing a single comment's thread. Return to all comments →
This one should work without the while loop, but for some reason you need it in the python3 interpreter. If you run the same thing without the while loop on a terminal it works great