How to efficiently proceed addition and subtraction in python list?

Daniel Mark danielmarkhot at gmail.com
Mon Sep 18 18:43:31 EDT 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