mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
fix(mypy): Fix annotations for 13 cipher algorithms (#4278)
* Initial fix for mypy errors in some cipher algorithms * fix(mypy): Update type hints * fix(mypy): Update type hints for enigma_machine2.py * Update as per the suggestion Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -61,6 +61,6 @@ def benchmark() -> None:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
for sequence in ("ABCDEFGH", "123GGjj", "testStringtest", "with space"):
|
||||
print(f"{sequence} encrypted in atbash: {atbash(sequence)}")
|
||||
for example in ("ABCDEFGH", "123GGjj", "testStringtest", "with space"):
|
||||
print(f"{example} encrypted in atbash: {atbash(example)}")
|
||||
benchmark()
|
||||
|
Reference in New Issue
Block a user