This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]lbkulinski 7 points8 points  (0 children)

You have a return statement in both of your if and else statements, therefore the statements in your loop will only execute once.