didn't look much but there is mismatch with some spaces and new lines
try to replace
try to replace
needed
withneeded = [ "DATASEG\n; --------------------------\n; Your variables here\n; --------------------------\n", "start:\n mov ax, @data\n mov ds, ax\n; --------------------------\n; Your code here\n; --------------------------\n" ]also in check.py line 23 you want to check for
needed[1]
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs