From bc3cc66a4ff6a0780ec47c31847eee5189085782 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Thu, 12 Sep 2019 09:45:43 -0500 Subject: Add last if --- csci1913/lab1/lab1_strap012.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'csci1913') 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) -- cgit v1.2.3