I would greatly appreciate a brief description of the return function and what does it really do as I don't really understnad and I can't find the answer anywhere on the internet. Thank you in advance !
The return code just returns what you had in your function.
Hope that helped
The return statement stops the execution of a function and returns a value from that function.
I belive this makes perfect sense.The link also helped , thanks