0
whats the problem? (solved)
i just refreshing my mind by creating a small esolang interpreter written in python (yes im making my own programming language,but should not used for real)so far i rewritted 2 times and got this error,i tried my best to see whats the problem but... well https://code.sololearn.com/cHjN2cY6sOKm/?ref=app
3 ответов
+ 2
On line 2, you have an extra parenthesis "(". Second, in the same line you have a variable which you haven't initialized, but try to use "initial_instructions_string". Third, in line 17 you have a pair of parentheses "()". You also have other variables that are not initialized, but you try to store something in them/use them, such as "current_instruction"
edit: oops didn't see someone responded already
+ 1
i was foused on the error,giving random fixes but doesn't work,so thank you too much :)
also i just renamed the inital instructions string to raw instructions and i just got forgot,i was bit sleepy btw