Page 1 of 1

Complete the Team class implementation. For the instance method get_win_percentage(), the formula is: wins / (wins + los

Posted: Mon Jun 06, 2022 1:43 pm
by answerhappygod
Complete the Team class implementation. For the instance method
get_win_percentage(), the formula is:
wins / (wins + losses). Note: Use floating-point
division.
For instance method print_standing(), output the win percentage
of the team with two digits after the decimal point and whether the
team has a winning or losing average. A team has a winning average
if the win percentage is 0.5 or greater.
Ex: If the input is:
where Ravens is the team's name, 13 is the number of team wins,
and 3 is the number of team losses, the output is:
Ex: If the input is:
the output is:
PYTHON LANGUAGE