Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
rot90 solution in 3rd party category for Cipher Map by OrginalS
from numpy import array, rot90
def recall_password(cipher_grille, ciphered_password):
x = array([list(elm) for elm in cipher_grille])
z, res = 0, ""
for _ in range(4):
for i in range(4): # range(len(x))
for j in range(4): # range(len(x[i]))
if x[i][j] == "X":
res += ciphered_password[i][j]
x = rot90(x, 3)
return res
Sept. 6, 2019
Comments: