aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913
diff options
context:
space:
mode:
Diffstat (limited to 'csci1913')
-rw-r--r--csci1913/lab1/lab1_strap012.py2
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)