As writing a new code in different file or folder and while executing the previous code gets executed what to do

Welcome @ayushsinghrana4 If you are using the Run button, the entrypoint tells the Run button which file you’d like to execute. There is a great post here showing how to change the entrypoint with screenshots/images: