print('your guess is too high ' if guess =number break if guess =number guessestaken str(guessestaken print('good jobmyname 'you guessed my number in guessestaken guesses!' if guess !number number str(number print('nope the number was thinking of was numberimport statements this is guess the number game import random the first line is comment remember that python will ignore everything after the sign this just reminds us what this program does the second line is an import statement rememberstatements are instructions that perform some action but don' evaluate to value like expressions do you've already seen statementsassignment statements store value in variable while python includes many built-in functionssome functions exist in separate programs called modules you can use these functions by importing their modules into your program with an import statement line imports the module named random so that the program can call random randint(this function will come up with random number for the user to guess guessestaken line creates new variable named guessestaken you'll store the number of guesses the player has made in this variable since the player hasn' made any guesses at this point in the programstore the integer here print('hellowhat is your name?' myname input(post questions to