The answer always comes out to be 16 but what happens to the x in function sq(func,x) because func turned into 16 but x remains 2. So it should show something like 16, 2 when I try to print it.
def sq(func,x):
y = x**2
return func(y)
def f(x):
return x**2
Calc = sq(f,2)
print(Calc)