def get_messages_str(messages):
    """
    From messeges list returns a string with all
    conversation between client and server

    Arguments:
        messages {list} -- list of messages from get_messages

    Returns:
        str -- string of conversation
    """

    messages_str = ""
    for i in messages:
        messages_str += "{}: {}\n".format(i[0], i[1])
    return messages_str.strip("\n\t ")