def get_objects_location(objects):
    """ Retrieves the location of objects.

    Parameters:
        objects (list): Objects to get locations.

    Returns:
        list: Object locations.
    """
    return [list(object.location) for object in objects]