First time here? Check out the FAQ!
answered 2012-08-08 10:50:59 +0100
Here is a one liner for that.
sage: ta3 =[ [ta1[i][0],ta1[i][1]-ta2[i][1]] for i in range(len(ta1))]
Assuming len(ta1)==len(ta2).
len(ta1)==len(ta2)