If I have the following two lists:
list1= https://pastebin.com/zFin7kkB
list2= https://pastebin.com/8ymCin6d
where the first element of both list is the same. How can I replace the values in the second position in list1
with the values of the sencond position of list2 multiplied by 1.2, only when the values of the first position in list1
and list2
are greater than 74?. For example, I would like to obtain a list that would look like: {{40,0.0712996},{40.,0.0712996},{40.,0.0712996}......{74.0202,0.0594163*1.2},{74.0404,0.059451*1.2},{74.0606,2.5}....etc
. where 0.0594163*1.2
, 0.059451*1.2
and 0.0594857*1.2
are the values of list2
at the same temperature greater than 74 multiplied by 1.2.
Thank you in advanced,