statement' condition (guessestaken is falsesince isn' less than because the while statement' condition is falsethe execution moves to the first line after the while-blockline check if the player won if guess =numberline has no indentationwhich means the while-block has ended and this is the first line after the while-block the execution left the while-block either because the while statement' condition was false (when the player runs out of guessesor the break statement on line was executed (when the player guesses the number correctlyline checks to see if the player guessed correctly if sothe execution enters the if-block at line guessestaken str(guessestaken print('good jobmyname 'you guessed my number in guessestaken guesses!'lines and only execute if the condition in the if statement on line was true (that isif the player correctly guessed the computer' numberline calls the str(functionwhich returns the string form of guessestaken line concatenates strings to tell the player they have won and how many guesses it took them only string values can concatenate to other strings this is why line had to change guessestaken to the string form otherwisetrying to concatenate string to an integer would cause python to display an error check if the player lost if guess !numberline uses the "not equal tocomparison operator !to check if player' last guess is not equal to the secret number if this condition evaluates to truethe execution moves into the if-block on line lines and are inside the if-blockand only execute if the condition on line was true number str(numberprint('nope the number was thinking of was numberpost questions to