formatte file

This commit is contained in:
2025-04-01 14:28:43 +02:00
parent f2ae2cbc13
commit e03e5458aa
77 changed files with 1231 additions and 945 deletions

View File

@@ -1,13 +1,16 @@
import string
def load_file():
with open("message.txt", "r", encoding="utf-8") as f:
content = f.read()
return content
lower_case = string.ascii_lowercase
upper_case = string.ascii_uppercase
def dechiffrer(content, step):
resultat = ""
@@ -23,6 +26,7 @@ def dechiffrer(content, step):
return resultat
contenu = load_file()
texte_dechiffre = dechiffrer(contenu, step=17)