Discarded Forum

Discarded Forum
Discarded Forum

You have 3 loops (I would try and lower that number) and are only breaking out of one. You need to break out of each of your three loops.

1 Like

What loop are you trying to break out of? The while loop? The inner for loop? If it’s all of the loops, since this is in a function you can use return instead of break which will end the whole function

1 Like

Worked perfectly fine, thank you!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.