Fixed number input
This commit is contained in:
parent
34974487fb
commit
2a59cd9a1e
@ -258,7 +258,7 @@ def inNOperator(inputDirection: direction, dataStack: List[int]) -> Tuple[direct
|
|||||||
inputDirection = copy.deepcopy(inputDirection)
|
inputDirection = copy.deepcopy(inputDirection)
|
||||||
newVal = input("Input number: ")
|
newVal = input("Input number: ")
|
||||||
if newVal.isdigit():
|
if newVal.isdigit():
|
||||||
newStack.append(newVal)
|
newStack.append(int(newVal))
|
||||||
return (inputDirection, newStack)
|
return (inputDirection, newStack)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user