def listToString(array):
    """
    A method that converts a list onto a string

    Args:
    -----
        array: A list of strings.

    Returns:
    --------
        A string containing the elements of the list separated by a ' '.
    """
    if isinstance(array, list):
        aux = ''
        for e in array:
            aux += e + ' '
        return aux
    return str(array)
