Commit 8e118b56 authored by Gilles Coremans's avatar Gilles Coremans
Browse files

Fix second input not being checked

parent 4e24f594
......@@ -13,6 +13,7 @@ while not parsed:
operator = input("Operator: ")
operand2 = input("Second operand: ")
parsed = False
while not parsed:
try:
operand2 = int(operand2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment