4/18 Removing elements from lists


What does return actually mean in any language??? It's said here that when we use del(n[1]) it doesnt return anything


Think of 'return' just as you think of 'print'.

The only difference is that 'return' doesn't print anything to the console, instead it returns the result to the process that called it.

I have 2 scripts.
Script A tells script B to run, and return its result so that script A can use that result in its own script.


thank you sicklad :smile: