I have a list L = [a13 == a10, a14 == a11, a15 == a12, a16 == a7, a17 == a8, a18 == a9]
I then have a running through a loop giving it these values
a = 1
a = 2*a15*a16 + 2*a13*a17 + 2*a13*a18 +1849
etc
I have
print(a)
a.subs(L)
print(a)
and it indicates no change, but I would of thought/ expected substitution to of taken place. Maybe I am being idiot, but please tell me where.
Thanks.
Edit: Example code
I will write out some of my code + outputs:
print L
while k <= i[0].degree(t):
a = i[0].coefficient({t:k}) print a b = a.subs(L) print b
Don't understand why there is an extra box, but hopefully this makes sense.
An example of Outputs:
[a13 == a10, a13 == a11, a15 == a12, a16 == a7, a17 == a8, a18 == a9]
1
1
1
1
2*a15*16 + 2*a14*a17+2*a13*a13 + 1849
2*a15*16 + 2*a14*a17+2*a13*a13 + 1849
Hope this helps