From 7f298c88ce57f87da8f9957026e915c25eb9f7dd Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sat, 3 Jun 2017 12:38:42 +0200 Subject: updated crittografa --- python/crittografa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/crittografa.py b/python/crittografa.py index f629d13..3c904d5 100644 --- a/python/crittografa.py +++ b/python/crittografa.py @@ -1,8 +1,8 @@ consonantiMax = [ 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'X', 'Z', 'B'] -consonantiMin = [consonantiMax[i].lower() for i in range(len(consonantiMax))] # consonanti minuscole +consonantiMin = [i.lower() for i in consonantiMax] # consonanti minuscole vocaliMax = ['A', 'E', 'I', 'O', 'U', 'Y', 'A'] -vocaliMin = [vocaliMax[i].lower() for i in range(len(vocaliMax))] +vocaliMin = [i.lower() for i in vocaliMax] numeriList = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0'] nuovaParola = [] -- cgit v1.2.3-18-g5258