diff options
-rw-r--r-- | csci1913/lab1/lab1_strap012.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/csci1913/lab1/lab1_strap012.py b/csci1913/lab1/lab1_strap012.py index 329c8c4..6c6d30b 100644 --- a/csci1913/lab1/lab1_strap012.py +++ b/csci1913/lab1/lab1_strap012.py @@ -34,6 +34,8 @@ def solving(v,q): newQ = solvingMultiply(v, q) elif op(left(q))=='/': newQ = solvingDivide(v, q) + else: + return 6 return solving(v,newQ) |