Aa-ragok Cipher
Aa-ragok the wise,
he writes and cite cryptic texts,
for his own secrets.
Objective
Write a program to decipher Aa-ragok's ancient texts, where these rules applies:
- You are required to use list comprehension! (Any for-statements will break the program)
- The
texts
can be any number of lines.
- Each line should have 10 alphabets and an index number.
- You should get each character in each line by using index number.
Below is how it should work,
Output
Your decipher
function should return a list of characters that are corresponded to each line. For example,
>>> decipher(texts)
['a', 'i', 'r']
Code