From: fredrik at pythonware.com (Fredrik Lundh) Date: Tue, 13 Apr 1999 07:21:15 GMT Subject: role of semilcolon References: Message-ID: <00f401be857f$ff063410$f29b12c2@pythonware.com> X-UID: 131 Andy Dustman wrote: > a=1;b=2;b=3 > > is the same as: > > a=1 > b=2 > b=3 > > But a Pythonism you may want to adapt is: > > a,b,c = 1,2,3 that's a somewhat dubious pydiom: the semicolon variant is about twice as fast. (and unless you use the -O option, the semicolon form is also faster the one-assignement-per-line form...)