Question: Consider the following function: def func(x,y,n): w = x**n - y**n z = x**n + y**n return(w/z) Write the results func(1,2,3), func(2,1,3), func(1,-1,2), func(1,-1,1), func(1,-1,99)
Consider the following function:
def func(x,y,n):
w = x**n - y**n z = x**n + y**n
return(w/z)
Write the results func(1,2,3), func(2,1,3), func(1,-1,2), func(1,-1,1), func(1,-1,99)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
