5x5 Crypto¶
Python script:
grid5x5 = [
['a','b','c','d','e'],
['f','g','h','i','j'],
['l','m','n','o','p'],
['q','r','s','t','u'],
['v','w','x','y','z']
]
text="1-3,4-4,2-1,{,4-4,2-3,4-5,3-2,1-2,4-3,_,4-5,3-5,}"
text = text.split(',')
for t in text:
if '-' in t:
x,y = t.split('-')
print(grid5x5[int(x)-1][int(y)-1],end='')
else:
print(t,end='')