Skip to content
← Back to Community
hang man
Profile icon
PinHecked

it works but there is a syntax error that i need help on fixing

Voters
Profile icon
PinHecked
Comments
hotnewtop
Profile icon
SixBeeps

Both lines 54 and 56 have to match the indentation of line 51.

Profile icon
PinHecked

@SixBeeps that created another problem

Profile icon
MrVoo

@ArnavKakani Remove continue, from what I see it can and will do nothing.

Profile icon
SixBeeps

@ArnavKakani Now you have an empty block on 52, which Python doesn't like. If you don't want to do anything in that if-statement (for whatever reason) put a pass instead of just leaving it empty.

Profile icon
PinHecked

@SixBeeps what should i do about the break outside the loop?