There is some lists and this is consisting of {a,{b,c},d,e}
elements.
For example,
list[1]={{7,{1,1},1,2},{10,{6,2},3,5},{10,{7,2},2,1}}
I want to create new lists, It' s like these elements are d>1, a is replaced by the value e*a
(when d=1 there is unchanged in the elements).
In the case of list[1],newlist[1]={{7,{1,1},1,2},{10*5,{6,2},3,5},{10*1,{7,2},2,1}}
So,I started writing from If[list[[t,3]]>1,
~~~~. (t
is Length[list]
)
However, I got an error saying that expression t
cannot be partially specified.
How can I help you?