variable named guess if guess secretnumberprint('your guess is too low 'elif guess secretnumberprint('your guess is too high 'these few lines of code check to see whether the guess is less than or greater than the secret number in either casea hint is printed to the screen elsebreak this condition is the correct guessif the guess is neither higher nor lower than the secret numberthen it must be equal to the secret number--in which caseyou want the program execution to break out of the for loop if guess =secretnumberprint('good jobyou guessed my number in str(guessestakenguesses!'elseprint('nope the number was thinking of was str(secretnumber)after the for loopthe previous if else statement checks whether the player has correctly guessed the number and then prints an appropriate message to the screen in both casesthe program displays variable that contains an integer value (guessestaken and secretnumbersince it must concatenate these integer values to stringsit passes these variables to the str(functionwhich returns the string value form of these integers now these strings can be concatenated with the operators before finally being passed to the print(function call short programrockpaperscissors let' use the programming concepts we've learned so far to create simple rockpaperscissors game the output will look like thisrockpaperscissors wins losses ties enter your move( )ock ( )aper ( )cissors or ( )uit paper versus paper it is tie wins losses ties enter your move( )ock ( )aper ( )cissors or ( )uit scissors versus paper you winflow control