Skip to content

Instantly share code, notes, and snippets.

@Mebus
Created December 3, 2018 08:54
Show Gist options
  • Save Mebus/5bd8f5dba45e000c5a3e85202f461902 to your computer and use it in GitHub Desktop.
Save Mebus/5bd8f5dba45e000c5a3e85202f461902 to your computer and use it in GitHub Desktop.
alphabet = "абвгдеёжзийклмнопрстуфхцчшщъыьэюя"
print(len(alphabet))
aufgaben = [
[31, 12, 16, 15, 16, 14, 10, 19, 20],
[19, 6, 12, 18, 6, 20, 1, 18, 30],
[1, 5, 3, 16, 12, 1, 20],
[10, 15, 8, 6, 15, 6, 18],
[5, 16, 24, 6, 15, 20],
[8, 21, 18, 15, 1, 13, 10, 19, 20],
]
for a in aufgaben:
l = ""
for k in a:
l = l + (alphabet[k - 1])
print(str(a) + " -> " + l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment