round( round( round( round( round( the round(function also has an optional parameterwhere you can specify to what place you want to round the number to for examplethe expression round( evaluates to and round( evaluates to displaying the statistics numgames float(numgames xpercent round(((xwins numgames ) opercent round(((owins numgames ) tiepercent round(((ties numgames ) print(' wins % games (% %%) wins % games (% %%)ties for % games (% %%of % games total (xwinsxpercentowinsopercenttiestiepercentnumgames)the code at the bottom of the program will show the user how many wins and hadhow many ties there wereand how what percentages these make up statisticallythe more games you runthe more accurate your percentages will be for finding the best ai algorithm if you only ran ten gamesand won three of themthen it would seem that ' algorithm only wins of the time howeverif you run hundredor even thousand gamesthen you may find that ' algorithm wins closer to (that ishalfof the games to find the percentagesdivide the number of wins or ties by the total number of games then multiply the result by howeveryou may end up with number like so pass this number to the round(function with the second parameter of to limit the precision to two decimal placesso it will return float like instead (which is much more readablelet' try another experiment run aisim py againbut this time have it run hundred gamessample run of aisim py welcome to reversienter number of games to run