How can I break out of multiple loops? September 9, 2022 by Tarik My first instinct would be to refactor the nested loop into a function and use return to break out.