Thanks?
These sentences are truly what I need:
eqs = {a2 == b1 == b2, b3 == b4};
head = Head[eqs[[1]]];
eqs /. head -> List;
It outputs {{a2 , b1 , b2}, {b3, b4}}.
But now it is needed to print a2 , b1 , b2 when input any one of a2 , b1 , b2; or print b3 and b4 when input any one among b3 and b4.
I tried to write these sentences :
SList=eqs /. head -> List;
SList[[1]];
If [Containing[SList[[1]],Input[] , Print[SList[[1]]],F]
Here hope printing a2 , b1 , b2 when input any one of a2 , b1 , b2 by justifying the input is contained in { a2 , b1 , b2} . But it does not run.Why?
Should there be a better approach to print the items in the "==" relationship like a2 , b1 , b2 when input any one of them?