Skip to content

Commit 7cdbd5e

Browse files
committed
fixed some errors to pass the tests
1 parent d75ab4d commit 7cdbd5e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ciphers/break_vigenere.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ def find_key_from_vigenere_cipher(ciphertext: str) -> str:
208208

209209

210210
if __name__ == "__main__":
211-
with open("ciphertext.txt", "r") as file: # insert the name of your file
212-
ciphertext = file.read()
213-
key = find_key_from_vigenere_cipher(ciphertext)
214-
print(key)
211+
pass
212+
# # how to execute
213+
# with open("ciphertext.txt") as file:
214+
# ciphertext = file.read()
215+
# key = find_key_from_vigenere_cipher(ciphertext)
216+
# print(key)

0 commit comments

Comments
 (0)