Skip to content

Instantly share code, notes, and snippets.

@Senix
Created May 8, 2011 03:33
Show Gist options
  • Save Senix/961071 to your computer and use it in GitHub Desktop.
Save Senix/961071 to your computer and use it in GitHub Desktop.
#!/bin/usr/python
rot_dictionary = {"a":"n", "b":"o", "c":"p", "d":"q", "e":"r", "f":"s", "g":"t",
"h":"u", "i":"v", "j":"w", "k":"x", "l":"y", "m":"z", "n":"a",
"o":"b", "p":"c", "q":"d", "r":"e", "s":"f", "t":"g", "u":"h",
"v":"i", "w":"j", "x":"k", "y":"l", "z":"m"}
original = raw_input("your text: ")
mixed = ""
rot_dictionary[original] += mixed
for i in original:
print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment