Bifid cipher: Difference between revisions
m
Python: Remove unnecessary list comprehension
(Add Python) |
m (Python: Remove unnecessary list comprehension) |
||
Line 296:
_map = polybius_map(square)
return "".join(
square[x - 1][y - 1]
for
chain.from_iterable(zip(*(_map[c] for
▲ )
)
Line 310 ⟶ 308:
_map = polybius_map(square)
return "".join(
square[x - 1][y - 1]
for
)
)
def normalize(
"""Normalize a message for the typical Polybius square."""
return
|