mirror of
https://github.com/Fare-spec/cours.git
synced 2025-12-09 11:30:38 +00:00
formatte file
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user