From 71a107b407f1184c3041e5d0038d5a74abe7bb73 Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Wed, 26 Feb 2020 20:02:22 +0100 Subject: [PATCH] translation working --- crypttool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypttool.py b/crypttool.py index dd77b0b..d0e9014 100644 --- a/crypttool.py +++ b/crypttool.py @@ -250,8 +250,8 @@ def translatePrompt(): print('3: Octal') print('4: Hexadecimal') print('5: ASCII') - inputType = input('Please specify input type: ') - outputType = input('Please specify output type: ') + inputType = int(input('Please specify input type: ')) + outputType = int(input('Please specify output type: ')) if (inputType == 5): inputString = input('Please input your strings, seperated by semicolon: ') else: