So I have a function that takes two parameters and another function that returns those two parameters. However I can't seem to figure out how to do this. In order to simplyfy my code I will make up funcions.
def my_function(x, y):
return x + y
def get_x_and_y():
x, y = [5, 10]
return x, y
print(my_function(get_x_and_y()))
So this gives an error and I'm not sure how to do this.
I know this might be answered but I'm not quite sure how to word it on google, and I have looked for a while.