From ea70ee296f6cb13be39ae42c4d00b64d24838350 Mon Sep 17 00:00:00 2001 From: xdrm Date: Thu, 21 May 2015 21:47:51 +0200 Subject: [PATCH] Ajout majuscules --- source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source.py b/source.py index cb7f722..24e5329 100644 --- a/source.py +++ b/source.py @@ -67,7 +67,7 @@ def codeChar(pChar, pSIGMA, pROTOR): ############################################################################################################################# # ALPHABET -SIGMA = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', ' ']; +SIGMA = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', ' ']; # NOMBRE DE ROTORS LEVEL = 3; # valeur par defaut LEVEL = int( raw_input('Level: ') );