From eb49a77ea66cf0030fc18c8972435b1e33d47b11 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 30 Apr 2017 19:08:18 +0200 Subject: File in python3 --- python/conversioneBinariaDec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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)) -- cgit v1.2.3-18-g5258