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.
I'm a total noob on this site, and while I think I'm on to something with my solution, I really do not understand yet, how the site should work.
This is the solution I came up with in Python 3:
def caesar_shift_one_step(number):
return ''.join([str((int(x) + 1) % 10) for x in number])
If I run it locally it gives back the right answer. However, if I run it on the site, I get "~ no response on stdout ~" error. What format does the site expect me to give my solution? Is there some tutorial here I missed?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Security - Message Space and Ciphertext Space
You are viewing a single comment's thread. Return to all comments →
I'm a total noob on this site, and while I think I'm on to something with my solution, I really do not understand yet, how the site should work.
This is the solution I came up with in Python 3:
def caesar_shift_one_step(number): return ''.join([str((int(x) + 1) % 10) for x in number])
If I run it locally it gives back the right answer. However, if I run it on the site, I get "~ no response on stdout ~" error. What format does the site expect me to give my solution? Is there some tutorial here I missed?