Ask Your Question

Revision history [back]

I figured out how to do it. I added the solution_dict = True argument to the solve bit and then i created an empty list, used a for loop with .append(co[i][0] == 0) where co was the list of coefficients and it worked.