<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def complex_state_generator_bravo(last_state=''):
 """Pick a state."""

    from random import choice

    states = ['ALPHA', 'BRAVO', 'BRAVO', 'DONE']
    if last_state:
        states.remove(last_state)  # Slightly lower chances of previous state.

    state = choice(states)

    logging.info('Generating a state... %s', state)

    return state