def stringify(vals):
    """Return a string version of vals (a list of object implementing __str__)

    Args:
        vals (List[any]): List of object that implements __str__

    Returns:
        str: A string representation
    """
    if type(vals) == list:
        return '_'.join([str(e) for e in vals])
    else:
        return str(vals)