Code bugs - doesn’t work as intended

Question: doesn’t go through the entire file ‘main.diss

Repl link: https://replit.com/@GenericEngineer/maindiss

So I am so confused, but I see some main python issues here.

  1. line 2 of main.py is a bit confusing
  2. To test the clear() function, just add a line of code in the very beginning to print that it has ran:
print('Clear has been called!')

I am a bit confused and I don’t understand the code very much.

2 Likes

Sorry for the late reply. Forgot to check replit help. I was trying to code a language called “dissect” (hence the .diss file ending). I had tried adding print functions all over the place, but it only returns the first line as what it had gone through.