Created
September 27, 2017 02:20
-
-
Save frozenpandaman/e80de622c63c0df7f1a9ca6cccd62254 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# eli fessler, aka KUTAKi LUKUARiARiTAKUSHi | |
def trans(name): | |
d = { | |
'a': 'KA', | |
'b': 'ZU', | |
'c': 'Mi', | |
'd': 'TE', | |
'e': 'KU', | |
'f': 'LU', | |
'g': 'Ji', | |
'h': 'Ri', | |
'i': 'Ki', | |
'j': 'ZU', | |
'k': 'ME', | |
'l': 'TA', | |
'm': 'RiN', | |
'n': 'TO', | |
'o': 'MO', | |
'p': 'NO', | |
'q': 'KE', | |
'r': 'SHi', | |
's': 'ARi', | |
't': 'CHi', | |
'u': 'DO', | |
'v': 'RU', | |
'w': 'MEi', | |
'x': 'NA', | |
'y': 'FU', | |
'z': 'Z', | |
' ': ' ' | |
} | |
out = "" | |
for char in name: | |
out = out + d[char] | |
print out | |
return trans(out.lower()) | |
def main(): | |
name = raw_input("Name: ") | |
trans(name) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment