I get an Indentation Error in the else part of this statement. I've checked it for white spaces and can't make any sense out of the error.
if cur_state == 'NICHTGEN':
cur_state = 'GEN'
elif cur_state == 'GEN' and chance_num > trans_genZuGen:
cur_state = 'NICHTGEN'
else:
cur_state = 'GEN'
The exact error is
else:
^
IndentationError: unindent does not match any outer indentation level