So on I am currently completing a challenge and I wrote this:

def win_percentage(wins, losses):

total_number_of_games = wins + losses

ratio_of_winning = wins/total_number_of_games

percentage= ratio_of_winning*100

print = str(percentage) + ("%")

print(win_percentage(5, 5))

# should print 50

print(win_percentage(10, 0))

The correct solution uses return rather than print, and it seems to print it out, however, all I get is ‘none, none’. I would be really thankful if someone could help me out here, and let me know where is the gap in my understanding.