diff options
author | RossTheRoss <msattr@gmail.com> | 2019-09-12 09:45:43 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-09-12 09:45:43 -0500 |
commit | bc3cc66a4ff6a0780ec47c31847eee5189085782 (patch) | |
tree | cb986a62127b19f4d01172aa0e38b8a89c1c7b2a /csci1913 | |
parent | Add space (diff) | |
download | homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar.gz homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar.bz2 homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar.lz homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar.xz homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.tar.zst homework-bc3cc66a4ff6a0780ec47c31847eee5189085782.zip |
Add last if
Diffstat (limited to '')
-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) |