I have the function which I am not able to edit, this function expects 3 arguments
def rgb_color(r,g,b):
print(r,g,b)
now I have the values as the array, I can change this var if needed to the list or something
black = [0, 0, 0]
Is there any way to pass each variable black to the function without using
black[0], black[1], black[2]
something like this:
call_user_function(rgb_color, black)