diff options
-rw-r--r-- | csci1913/lab1/lab1_strap012.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csci1913/lab1/lab1_strap012.py b/csci1913/lab1/lab1_strap012.py index 6ed7377..582c3be 100644 --- a/csci1913/lab1/lab1_strap012.py +++ b/csci1913/lab1/lab1_strap012.py @@ -50,7 +50,7 @@ def solvingDivide(v,q): dispatcher={'+':solvingAdd,'-':solvingSubtract,'*':solvingMultiply,'/':solvingDivide} def solving(v,q): - if left(q) is v: +if left(q) is v: return q else: if op(left(q)) in dispatcher: |