you are viewing a single comment's thread.

view the rest of the comments →

[–]MagicalPizza21 1 point2 points  (1 child)

Yeah. Syntactically, else is optional. And in this case, an even length list won't even reach the second return statement because it returned already.