figure - if and while statements if guess numberprint('your guess is too high 'line checks if the player' guess is greater than the secret number if this condition is truethen the print(function call tells the player that their guess is too high leaving loops early with the break statement if guess =numberbreak the if statement on line checks if the guess is equal to the secret number if it isthe program runs the break statement on line break statement tells the execution to jump immediately out of the while-block to the first line after the end of the while-block the break statement doesn' bother rechecking the while loop' condition the break statement is only found inside loopssuch as in while-block if the player' guess isn' equal to the secret numberthe execution reaches the bottom of the while-block this means the execution will loop back to the top and recheck the condition on line (guessestaken remember after the guessestaken guessestaken instruction executedthe new value of guessestaken is because is truethe execution enters the loop again if the player keeps guessing too low or too highthe value of guessestaken will change to then then then then when guessestaken has the number stored in itthe while