diff options
author | Santo Cariotti <sancn@live.com> | 2017-04-30 19:08:18 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-04-30 19:08:18 +0200 |
commit | eb49a77ea66cf0030fc18c8972435b1e33d47b11 (patch) | |
tree | a72a13940d551755709b57718b76c345d4605bcb | |
parent | f4dd5c5a8b9c297854d2fbde575bc4481e55386f (diff) |
File in python3
-rw-r--r-- | python/conversioneBinariaDec.py | 4 |
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)) |