this code uses the random function which takes a random number and makes it the number you have to guess. and the else at the bottom of the picture makes …
this little piece of code lets it loop over and over again until it is done and it also switches the color. and turtle.done() makes it so the window stays …