def result_probs(team_form, opp_form):
    """
    Function that calculates the win/draw/loss probabilities of the next game.

    Params: 
        team_form = the form of the favorite team in the season so far
        opp_form = the form of the opposition team in the season so far
    """
    num_games = (team_form[0] + team_form[1] + team_form[2])*2
    win_prob = round(((team_form[0] + opp_form[2])/num_games)*100,0)
    draw_prob = round(((team_form[1] + opp_form[1])/num_games)*100,0)
    loss_prob = 100 - win_prob - draw_prob
    
    return [win_prob, draw_prob, loss_prob]