diff --git a/interpreter/tokenFunctions.py b/interpreter/tokenFunctions.py index cb70b70..4761338 100644 --- a/interpreter/tokenFunctions.py +++ b/interpreter/tokenFunctions.py @@ -258,7 +258,7 @@ def inNOperator(inputDirection: direction, dataStack: List[int]) -> Tuple[direct inputDirection = copy.deepcopy(inputDirection) newVal = input("Input number: ") if newVal.isdigit(): - newStack.append(newVal) + newStack.append(int(newVal)) return (inputDirection, newStack)