summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/crittografa.py4
1 files 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 = []