calculation on lists

loïc Lauréote laureote-loic at hotmail.fr
Wed Dec 19 13:25:07 CET 2012


hi,
I
 have a question,
is there a tool to calculate on list ?

something like :

>a= [1,1,1,1]
>b = [5,9,8,4]
>c = a+b*a
>print c
>[6,10,9,5]  

Thx
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121219/1bdbaa66/attachment.html>


More information about the Python-list mailing list