summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/conversioneBinariaDec.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/conversioneBinariaDec.py b/python/conversioneBinariaDec.py
index 7590736..2ff1bb6 100644
--- a/python/conversioneBinariaDec.py
+++ b/python/conversioneBinariaDec.py
@@ -1,10 +1,7 @@
from math import pow
b = 32
-v = []
-
-for i in range(b):
- v.append(0)
+v = [0 for i in range(b)]
str = input('Stringa: ')