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.
Python 3 has the same problem. A simple print(result) would have done it, but they put some nonsense with .join that added spaces between each of the characters and guaranteed that the code would fail both tests. I don't even know how you'd fix it without altering their code.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Cats and a Mouse
You are viewing a single comment's thread. Return to all comments →
Python 3 has the same problem. A simple print(result) would have done it, but they put some nonsense with .join that added spaces between each of the characters and guaranteed that the code would fail both tests. I don't even know how you'd fix it without altering their code.