diff options
author | RossTheRoss <msattr@gmail.com> | 2019-09-18 11:11:06 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-09-18 11:11:06 -0500 |
commit | d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8 (patch) | |
tree | ba4510bc99452dc73881fabd1bcb95e848274739 /csci1913/lab1/lab1_strap012.py | |
parent | Merge branch 'master' of github.com:RosstheRoss/TestingFun (diff) | |
download | homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar.gz homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar.bz2 homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar.lz homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar.xz homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.tar.zst homework-d8dcd7be4024c3197e60ad3b7b33f474c7c70fb8.zip |
F
Diffstat (limited to 'csci1913/lab1/lab1_strap012.py')
-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 48e2ffe..0150b0c 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: |