New running code

is there any feature that, after writing new code when i going for run it start from begin. but here i want to run only new writing code, any way??/

Replit Profile:

Hey @SwarupKumar2!

Could you elaborate further on this?

I don’t believe you can run only new code. You could comment out the old code and test the new code.


Adding onto this, commenting out code is easy on Replit. Simply select all the lines you wish to comment and use the keyboard shortcut Ctrl + /.