Can Anyone tell me what is wrong with my multiply_basic function?

You are trying to access elements in list poly1 and poly2 that are out of range. Since the range of k is “length” variable whose value is m+n-1 and ploy 1 and poly 2 are only of length m and n respectively, you keep getting index error.

Ok, got the issue. Thanks, Brother. I think the problem has been resolved successfully.

1 Like