An issue i'm facing in which the console is running a different file

I’m facing an issue while executing my python code. On the Replit interface, I had created a new file because the code was larger and I didn’t want to continue in the previous file. When I executed the code, it instead executed the file of the previous code. I even deleted that file but it just said, " No such file or directory." How may I fix this.
Also, when I write some code, it gives recommendations on what to write, and these are usually the same as what I have to do according to the course. This makes it frustrating as I cannot do it with my understanding, and even if I don’t know how to do something, instead of finding out how to, the software just tells me what to do. I wasn’t able to find out how to remove this in the settings menu. If there is any way, please tell me.
Thank You

Hi @aryan174401arora

Regarding the issue while executing your python code, please make sure that you write your main code in the file that is provided by replit. Do not change the file name of this file. Alternatively you can also share screen shots of your code and error so that we can debug it.

Replit does give code suggestions to improve your efficiency. However if you want to disable it in a repl, go into the User Settings tool and turn off AI code completion . Or, click the AI button near the bottom and disable it from there.

Please do try this and let us know. If you still face any other issues, please feel free to get back to us.