Now we only need to put the guessing part in a while loop.

After creating finished and before creating guess, add a loop that runs as long as finished is False. Then indent every line below it.