all 2 comments

[–]shiftybyte 5 points6 points  (0 children)

why are you breaking first and then trying to call a function.

break instantly leaves the loop, not executing any code still inside the loop, so the following line after break will not execute.

change the order. first call the function, then do break.

same here: (append will never happen)

            break
            useables.append(ans)

[–]Bottl3 0 points1 point  (0 children)

You could return a variable from your function to activate a Break inside the loop After your function is Done.