Jul-01-2022, 01:23 PM
To debug I would set a breakpoint and look at the arguments. If you don't have debugging you can use print.
print(x_L, x_j) newCoeff = float(x_L)/(x_L - x_j)One of these will be a list. Knowing which will direct where you put the next print statement.