The simpler version of my problem looks like the following:
def function_1(x, function):
print(x)
function()
def function_2(y):
print(2*y)
def function_3(z, n):
print(3*z)
print(5 * n)
function_1(5, function_2)
function_1(3, function_3)
My question is when calling function_1, how can i give it an argument which will be added to the called function (function_2 or function_3) also as an argument? Beginner here. Thanks in advance.