def eval(self, string): """Evaluates an infix arithmetic expression""". tokens = string.split(). op1 = int(tokens.pop(0)). operator = tokens.pop(0).
確定! 回上一頁