I have passed the test but it seems to me that the process I did is not the correct one, I would like to ask for your collaboration to know what is the correct way to solve it.
Create a function called
win_percentage() that takes two parameters named
This function should return out the total percentage of games won by a team based on these two numbers.
this is my solve:
Write your win_percentage function here:
Uncomment these function calls to test your win_percentage function:
should print 50