probaprobbn getinputs(winsawinsb simngames(nprobaprobbprintsummary(winsawinsbdef printintro()print("this program simulates game of racquetball between two"print('players called "aand "bthe abilities of each player is'print("indicated by probability ( number between and that"print("the player wins the point when serving player always"print("has the first serve "def getinputs()returns the three simulation parameters eval(input("what is the prob player wins serve") eval(input("what is the prob player wins serve") eval(input("how many games to simulate")return abn def simngames(nprobaprobb)simulates games of racquetball between players whose abilities are represented by the probability of winning serve returns number of wins for and winsa winsb for in range( )scoreascoreb simonegame(probaprobbif scorea scorebwinsa winsa elsewinsb winsb return winsawinsb def simonegame(probaprobb)simulates single game or racquetball between players whose abilities are represented by the probability of winning serve returns final scores for and serving "ascorea scoreb while not gameover(scoreascoreb)if serving =" "if random(probascorea scorea