Telephone Keypad Letter Mapping Fixed by croyal

for w in raw_input().split('0'):print''.join([chr(int(l[0])*3+90+len(l)+int(int(l[0])>7))for l in w.split('1')if l<>'']),

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page