summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-04-30 19:08:18 +0200
committerSanto Cariotti <sancn@live.com>2017-04-30 19:08:18 +0200
commiteb49a77ea66cf0030fc18c8972435b1e33d47b11 (patch)
treea72a13940d551755709b57718b76c345d4605bcb /python
parentf4dd5c5a8b9c297854d2fbde575bc4481e55386f (diff)
File in python3
Diffstat (limited to 'python')
-rw-r--r--python/conversioneBinariaDec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/conversioneBinariaDec.py b/python/conversioneBinariaDec.py
index cf1087b..7590736 100644
--- a/python/conversioneBinariaDec.py
+++ b/python/conversioneBinariaDec.py
@@ -6,7 +6,7 @@ v = []
for i in range(b):
v.append(0)
-str = raw_input('Stringa: ')
+str = input('Stringa: ')
if len(str) < b:
valVuoto = len(str)
@@ -27,4 +27,4 @@ while i > -1:
i -= 1
j += 1
-print(int(num)) \ No newline at end of file
+print(int(num))