Jun-12-2019, 09:44 PM
As soon as you hit a return, the function is done and doesn't run through the rest of the for-loop. If you imagine a bus ride as a for loop, the return statement is like jumping off the bus before making it to the destination... you miss out on the rest of the bus ride.