summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-06-03 12:38:42 +0200
committerSanto Cariotti <sancn@live.com>2017-06-03 12:38:42 +0200
commit7f298c88ce57f87da8f9957026e915c25eb9f7dd (patch)
tree3a8013e49176e5b2b41efa0972122d43ef5f7711 /python
parent17a67a4cd53939413296ce7ce7ac35a96b7aff96 (diff)
updated crittografa
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 = []