# Write your win_percentage function here:
def win_percentage(win,losses):
   total = win+losses
   num= win/total
   return num*100
# Uncomment these function calls to test your win_percentage function:
print(win_percentage(5, 5))
# should print 50
print(win_percentage(10, 0))
# should print 100
