Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Cipher Map by TovarischZhukov
def find(cipher_grille, ciphered_password):
return [val for i,elem in enumerate(ciphered_password) for j,val in enumerate(elem) if cipher_grille[i][j]=="X"]
def slew(cipher_grille):
retval = []
for i, elem in enumerate(cipher_grille):
retval.append([])
for j,_a in enumerate(elem):
retval[-1].append(cipher_grille[-1-j][i])
return retval
def recall_password(cipher_grille, ciphered_password):
retval = find(cipher_grille, ciphered_password)
for _ in range(3):
cipher_grille=slew(cipher_grille)
retval+=find(cipher_grille, ciphered_password)
return "".join(retval)
Jan. 1, 2016