def print_prob(prob_dic):
    """
    Print win probabilities of players.

    :param prob_dic: win probability dictionary
    :type prob_dic: dict
    :return: None
    """
    sorted_probs = sorted(prob_dic.items(), key=lambda x: (x[1], x[0]),
        reverse=True)
    name_max_length = max(map(len, prob_dic.keys()))
    print('Wining Probability : ')
    for item in sorted_probs:
        prob = item[1]
        name = item[0]
        space_name = (name_max_length - len(name) + 5) * ' '
        print(name + space_name + '{:0.3f}%'.format(prob * 100))
    if len(set(prob_dic.values())) > 1:
        print('Winner should be {}'.format(sorted_probs[0][0]))
