set x to random num from 0 to 100
Syntax error in input!
Traceback (most recent call last):
File "/home/runner/TEPL-V-07375/./src/main.py", line 67, in <module>
main()
File "/home/runner/TEPL-V-07375/./src/main.py", line 63, in main
interpret(result)
File "/home/runner/TEPL-V-07375/src/interpreter.py", line 45, in interpret
if ast[0] == 'OUTPUT':
TypeError: 'NoneType' object is not subscriptable
set x to random num from 0 to 100
output x
set x too 5
Syntax error in input!
Traceback (most recent call last):
File "/home/runner/TEPL-V-07375/./src/main.py", line 67, in <module>
main()
File "/home/runner/TEPL-V-07375/./src/main.py", line 63, in main
interpret(result)
File "/home/runner/TEPL-V-07375/src/interpreter.py", line 45, in interpret
if ast[0] == 'OUTPUT':
TypeError: 'NoneType' object is not subscriptable
set x too 5
Syntax error at 'too', expected 'to'!