| 1 | initial version |
Here's a functional style one-liner:
ta3 = map(lambda (x,y): [x[0], x[1]-y[1]], zip(ta1, ta2))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.