fix: use input string in task 2

This commit is contained in:
2026-04-09 18:38:58 +06:00
parent bb5c00c528
commit de9d6b3f96
2 changed files with 2 additions and 2 deletions

View File

@@ -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("Пустая строка")