diff options
| author | jerome <jerome@xlinfo.fr> | 2024-09-17 15:32:53 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2024-09-17 15:32:53 +0200 |
| commit | 550497e907868ac0249a18eef2a0fb7f5bcd9ed8 (patch) | |
| tree | 5690fce051444c9897a2bcf610d174b20dfe6718 /cesar.py | |
| parent | cdb4e2f17863038e28ab063415f59cc4d94491d6 (diff) | |
| download | python-550497e907868ac0249a18eef2a0fb7f5bcd9ed8.tar.gz python-550497e907868ac0249a18eef2a0fb7f5bcd9ed8.zip | |
scapy
Diffstat (limited to 'cesar.py')
| -rw-r--r-- | cesar.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ import string + def decalage(char, key): liste = list(string.ascii_lowercase)*2 + list(string.ascii_uppercase)*2 if char not in liste: @@ -42,7 +43,7 @@ while True: msg += decalage(lettre, clef) print(f"rot{clef} : {msg}") msg = "" - print("***************") + print("************") case "q": print("bye") exit() |
