How to efficiently proceed addition and subtraction in python list?

Daniel Mark danielmarkhot at gmail.com
Tue Sep 19 00:43:31 CEST 2006


Hello all:

I have a list AAA = [1, 2, 3] and would like to subtract one from list
AAA
so AAA' = [0, 1, 2]

What should I do?


Thank you
-Daniel




More information about the Python-list mailing list