def text_formatter(team: list) -> str:
    """
    transform list of lists into text
    from:
    [['player1', 'Sorlag'], ['player2', 'Nyx'], ['player3', 'Anarki'], ['player4', 'Ranger']]
    to:
    player1 - Sorlag
    player2 - Nyx
    player3 - Anarki
    player4 - Ranger

    :param team: list
    :return: str
    """
    text = ""
    for i in team:
        text += " - ".join(i)
        text += "\n"
    return text