The loop runs its entire code block because keep_going is True at first, but doesn't run again if we set keep_going to False.