diff --git a/src/app.py b/src/app.py index c7e298a..d326794 100644 --- a/src/app.py +++ b/src/app.py @@ -6,7 +6,7 @@ def process_query(input): if "plus" in input: new_input = input.replace("?", "") value1 = int(new_input.split(" ")[2]) - value2 = int(new_input[:-1].split(" ")[4]) + value2 = int(new_input.split(" ")[4]) return str(value1+value2) if "numbers is the largest" in input: input = input.replace("?", "")