def delete_player(name, player_list):
    """Delete a player from list."""
    new_list = []
    for i in range(len(player_list)):
        if name != player_list[i][0]:
            new_list.append(player_list[i])

    return new_list