enter your move( )ock ( )aper ( )cissors or ( )uit type the following source code into the file editorand save the file as rpsgame pyimport randomsys print('rockpaperscissors'these variables keep track of the number of winslossesand ties wins losses ties while truethe main game loop print('% wins% losses% ties(winslossesties)while truethe player input loop print('enter your move( )ock ( )aper ( )cissors or ( )uit'playermove input(if playermove =' 'sys exit(quit the program if playermove ='ror playermove ='por playermove =' 'break break out of the player input loop print('type one of rpsor 'display what the player choseif playermove =' 'print('rock versus 'elif playermove =' 'print('paper versus 'elif playermove =' 'print('scissors versus 'display what the computer choserandomnumber random randint( if randomnumber = computermove 'rprint('rock'elif randomnumber = computermove 'pprint('paper'elif randomnumber = computermove 'sprint('scissors'display and record the win/loss/tieif playermove =computermoveprint('it is tie!'ties ties elif playermove ='rand computermove =' 'print('you win!'wins wins