Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
gghError(s), warning(s): Traceback (most recent call last): File "source_file.py", line 82, in <module> convert("A + B ( C - D ) *D") File "source_file.py", line 44, in convert print(__convert(expression.split())) File "source_file.py", line 67, in __convert while not opstack.empty() and precedence[temp] >= precedence[token] and token.isidentifier(): KeyError: '*D' ['A', 'B', '+'] ['A', 'B', 'C', '*', '+'] ['A', 'B', 'C', '+', 'D', '+', '*'] |
λ
.NET NoSQL database for rapid development
|