Check the last two line of your code. Where the break
is out of any loop.
Put it in the specific loop, if you need it, otherwise remove it.
5
solved Why got syntax error ‘break’ outside loop? [closed]
Check the last two line of your code. Where the break
is out of any loop.
Put it in the specific loop, if you need it, otherwise remove it.
5
solved Why got syntax error ‘break’ outside loop? [closed]