You are viewing a single comment's thread. Return to all comments →
One liner, Python 2.
print "".join(map(lambda x: str((int(x)+1)%10), list(raw_input().rstrip())))
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 →
One liner, Python 2.
print "".join(map(lambda x: str((int(x)+1)%10), list(raw_input().rstrip())))