These lines so that it won’t show the error?

Every time I try to run the code in any optional lab it shows the error.
So each time I have to paste the previous lines into this window, to run the code lines properly.

Any other to execute these lines so that it won’t show the error?

Hi @sahar_zoiaghi

What error output do you get? The community members are happy to help if you could provide more information. Which lab? what error?

That’s not a good idea, and it’s not the correct way to fix a problem.