Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
7-liner solution in Clear category for Cipher Map by przemyslaw.daniel
def recall_password(a, b):
out, b = [], ''.join([x for y in b for x in y])
for _ in range(4):
c = ''.join([x for y in a for x in y])
out += [(y if x == 'X' else '') for x, y in zip(c, b)]
a = list(zip(*list(a[::-1])))
return ''.join(out)
Sept. 25, 2016