Error while running the code

**Question: I have written a sequence of code when i run it the complete code runs again but i want only the newly written code must run **

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

When you run your code, you are telling the repl to run the entire file. If you only want some code to be executed, consider deleting or commenting out the other sections.