The bear is supposed to move when the space key is pressed and then say, "Ouch!" when bumping into the tree before turning around and walking the other way. Can you fix this program?
Credit to @project_stem for the original project.