Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.054 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'subject:query': 0.07; 'here?': 0.09; 'cc:addr:python-list': 0.11; '>>': 0.16; 'itself,': 0.16; 'cc:addr:python.org': 0.22; 'subject:Code': 0.24; 'initial': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'needed.': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'assumes': 0.31; 'url:python': 0.33; '(2)': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; '(3)': 0.38; 'environment.': 0.39; 'url:mail': 0.40; 'to:addr:gmail.com': 0.65; 'between': 0.67; 'heh.': 0.84; 'traveling': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E9diBFw5RLF1y1dyA6hYhsbfM32b1DUPDdpHdXkkIic=; b=HyDMKLUsCiD+uvErIJp1zfc8HJjscibaj6LYvMs0GBEK9EyDe0xAqjm+Tsc+565yXl V8N1606KiwQR0hiaGk7reqv9YW6YaGggXktxbK1eS/3iSVwuH2sr+CsEXaQZrjBJ7LD/ 09p9YOVMttbiPEOc3ZzgNRl40bo52dcZPKB3XMmsnjYkB2PRp4Yi2HxTBTf4VOWUv1zH 2NCsORx72So6SK27Reg2omeNab4C/fFE9h9hVXWqAdW8GhLL9jK0Y08Ur3+WXiVJnkCk jI095MnZEDJS9u5B/OxvjHB1CnisTDBBf5oax52Tlz0FThIxaYIT+05HVZoCJw9R0Mk3 bGuw== MIME-Version: 1.0 X-Received: by 10.140.21.164 with SMTP id 33mr11827205qgl.78.1396333486914; Mon, 31 Mar 2014 23:24:46 -0700 (PDT) In-Reply-To: References: <533a3fd8$0$2909$c3e8da3$76491128@news.astraweb.com> Date: Tue, 1 Apr 2014 02:24:46 -0400 Subject: Re: Code style query: multiple assignments in if/elif tree From: David Hutto To: Ian Kelly Content-Type: multipart/alternative; boundary=001a11c13aca79c1d304f5f539d1 Cc: Python 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: 69 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396333489 news.xs4all.nl 2941 [2001:888:2000:d::a6]:39505 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69474 --001a11c13aca79c1d304f5f539d1 Content-Type: text/plain; charset=ISO-8859-1 > > > >> (1) v = u + at > >> (2) s = 1/2(u + v)t > >> (3) s = ut + 1/2(at^2) > >> (4) v^2 = u^2 + 2as > >> > >> Only (1) and (3) are needed. > > > > Okay, what's u here? Heh. > > u is the initial velocity; v is the velocity after accelerating at a for > time t. > This assumes that the viscosity is in a state of superfluidity, and in a perfect state between itself, and it's traveling environment. > -- > https://mail.python.org/mailman/listinfo/python-list > -- Best Regards, David Hutto --001a11c13aca79c1d304f5f539d1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

>> (1) v =3D u + at
>> (2) s =3D 1/2(u + v)t
>> (3) s =3D ut + 1/2(at^2)
>> (4) v^2 =3D u^2 + 2as
>>
>> Only (1) and (3) are needed.
>
> Okay, what's u here? Heh.

u is the initial velocity; v is the velocity after accelerating at a = for time t.
<= div>
This assumes that the viscosity is in a state of superfl= uidity, and=A0in a perfect state between itself, and it's traveling env= ironment.
=A0
--
https://mail.python.org/mailman/listinfo/python-list



--
Best Rega= rds,
David Hutto<= /span>
--001a11c13aca79c1d304f5f539d1--