Human: Can you show me a Python function to create a set call on iterables. Assistant: 
Here is a Python function to create a set call on iterable objects

import itertools

def set_call(iterable, func):
    """
    Call a function on each element of an iterable.

    Parameters
    ----------
    iterable: iterable
        The iterable to be called on.
    func: function
        The function to be called on each element of the iterable.

    Returns
    -------
    list
        The list of results of the function call on each element of the iterable.

    """
    return list(map(func, iterable))

# Enter the iterable
iterable = [1, 2, 3]

# Enter the function
func = lambda x: x * 2

# Calling the function
print((set_call(iterable, func)))

#Example Output
# [2, 4, 6]

#Remember to inspect code for bugs.