assignment pls heLP
b. Modify the GuessingGame2 program so that the player is criticized for making a “dumb” guess. For example, if the player guesses that the random number is 4 and is told that the guess is too low, and then the player subsequently makes a guess lower than 4, display a message that the user should have known not to make such a low guess. Save the ? le as GuessingGame3.gui.
Prasad RaveendranPosted Jun 13, 2024, 10:36 PM
previous_guessvariable keeps track of the last guess made by the player.tkinterwith an input field for the player's guess and a button to submit the guess.Save the above code in a file named
GuessingGame3.guiand run it to play the game.