Question: Heres the question and heres what I have for code, can anyone help me figure out how to correct this? Write a Python function binom_product

Heres the question and heres what I have for code, can anyone help me figure out how to correct this?
Write a Python function binom_product that takes integer arguments a and b and positive integer argument n and returns the product of the coefficients in the expansion of (ax + by)" Example: Let a-2,b-1, and n 3. Thern The product of the expansion coefficients is 8 x-12x6x-1 576 Notes: There are two visible test cases and three hidden test cases. Integers a and b will satisfy -10 a, b 10 and integer n will satisfy 1 3n 10. For example Test print (round (binom_product (2,-1,3))) 576 Result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
