Lab 12, Task 1 -------------- func1 ----- This function uses a loop to process the list vals. However, because both blocks of the if-else statement inside the loop have a return statement, the loop will never look at anything but the first element of vals: * If the first element is evenly divisible by y, the function returns x, which ends the function. * If the first element isn't evenly divisible by y, the function returns 0, which ends the function. Given that, the loop doesn't make sense, since it never does more than one repetition! func2 ----- This function uses a loop to gradually build up a sum that is stored in the variable result. At the end of the function, there is an if statement that checks if result is 0, and that returns -1 if it is. However, there is a return statement before that if statement, and it ends the function. As a result, the final if statement is never executed! **IMPORTANT:** A return statement always ends a function, so you should only use a return statement in places where ending the function makes sense!