Return-Path: 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: =?iso-8859-1?B?bG/vYyBMYXVy6W90ZQ==?= To: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --_623c3c7f-cf2b-40e9-a420-36b7842b10cb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi=2C I have a question=2C is there a tool to calculate on list ? something like : >a=3D [1=2C1=2C1=2C1] >b =3D [5=2C9=2C8=2C4] >c =3D a+b*a >print c >[6=2C10=2C9=2C5] =20 Thx = --_623c3c7f-cf2b-40e9-a420-36b7842b10cb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi=2C
I
 =3Bhave a question=2C
is there a tool to calculate on= list ?

something like :

>=3Ba=3D [1=2C1=2C1=2C1]
>=3B= b =3D [5=2C9=2C8=2C4]
>=3Bc =3D a+b*a
>=3Bprint c
>=3B[6=2C1= 0=2C9=2C5] =3B

Thx
= --_623c3c7f-cf2b-40e9-a420-36b7842b10cb_--