fix: use input string in task 2
This commit is contained in:
@@ -7,7 +7,7 @@ from tokenizer import tokenize
|
||||
|
||||
from math_objects import Token, Integer, Operator
|
||||
|
||||
equation: str = "1+0-1/(0+2)"# input()
|
||||
equation: str = input()
|
||||
|
||||
if not equation.strip():
|
||||
raise SyntaxError("Пустая строка")
|
||||
|
||||
Reference in New Issue
Block a user