Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35106

calculation on lists

Return-Path <laureote-loic@hotmail.fr>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.111
X-Spam-Level *
X-Spam-Evidence '*H*': 0.79; '*S*': 0.01; 'thx': 0.09; 'received:65.55.116.7': 0.16; 'to:name:python-list@python.org': 0.20; 'skip:& 10': 0.29; 'subject:lists': 0.32; 'to:addr:python- list': 0.33; 'hi,': 0.33; 'list': 0.35; 'something': 0.35; 'there': 0.35; 'tool': 0.36; 'to:addr:python.org': 0.39; 'from:addr:hotmail.fr': 0.84
X-EIP [vHLsq3j2+4JwKZQKmXbkzwqKmxFsI6+n]
X-Originating-Email [laureote-loic@hotmail.fr]
Content-Type multipart/alternative; boundary="_623c3c7f-cf2b-40e9-a420-36b7842b10cb_"
From loïc Lauréote <laureote-loic@hotmail.fr>
To "python-list@python.org" <python-list@python.org>
Subject calculation on lists
Date Wed, 19 Dec 2012 13:25:07 +0100
Importance Normal
MIME-Version 1.0
X-OriginalArrivalTime 19 Dec 2012 12:25:07.0680 (UTC) FILETIME=[E1A7D600:01CDDDE3]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1044.1355919976.29569.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1355919976 news.xs4all.nl 6948 [2001:888:2000:d::a6]:44062
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!news.franciliens.net!feed.ac-versailles.fr!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:35106

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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
 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

calculation on lists loïc Lauréote <laureote-loic@hotmail.fr> - 2012-12-19 13:25 +0100

csiph-web