In this exercise, the
win_percentage() function is passed
losses. What other parameters could be passed instead of
The function is intended to calculate the ratio of
wins to games played. The
losses parameter is only used to compute the total number of games played for the ratio calculation. If the function were re-written to take
games_played as the parameters, the calculation in the function would only need to perform the division for the ration (and multiple by 100) and not calculate the total number of games played first.