From df24abbf62c6bbdeb033e22b0779df6610e59b17 Mon Sep 17 00:00:00 2001 From: Gap Date: Thu, 1 Jan 2015 22:48:25 +0100 Subject: [PATCH] Removed debugging shit --- calc.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/calc.py b/calc.py index a55af71..dee8925 100644 --- a/calc.py +++ b/calc.py @@ -30,21 +30,13 @@ def lex(msg): tok += char elif char.isalpha(): if expression: - print("It is an expression") msg = "".join(msg) - - print("Before evaluating: "+msg) - print("Before evaluating (Token): "+tok) - print("So that's str eval tok" +str(eval(tok))) - return_value = msg[0:startPos-1] return_value += str(eval(tok)) return_value += msg[counter:] - print("Evaluated it: "+msg) expression = False return return_value else: - print("It is NOT an expression - " + tok) tok = "" return fullmessage