Input each element of a list into a function in python

34 Views Asked by At

Suppose I have a list l=[A,B,C,D] and a pre-defined funcion (I am using sympy.solve_linear_system(matrix,A,B,C,D). I want to evaluate the function without writing in A,B,C,D. I want to do it in terms of the list. Is this possible?

When I use Unpack (*list) it gives me A B C D and not A, B, C, D and the function has an error.

0

There are 0 best solutions below