Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.python Subject: Re: ... approaches ... Common-Lisp (Posting On Python-List Prohibited) Date: Mon, 24 Jun 2024 06:46:48 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: References: <868r5vt80v.fsf@williamsburg.bawden.org> <87jzpdx4e7.fsf@clsnet.nl> <87ikyzpccd.fsf@clsnet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 24 Jun 2024 08:46:48 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3048fea01d51f9337586ac8e02824e6c"; logging-data="864868"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0KVQoIzjQRZpbH83uTWOe" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:k4IAsCSstqqybk+ACZusjWqJTgA= Bytes: 1513 On Mon, 24 Jun 2024 06:07:04 -0000 (UTC), Sebastian Wells wrote: > Just one example: if you've built up a list comprehension > and suddenly you need to reference the result of the same computation > twice, now you need to turn the whole thing into a for loop because you > can't introduce variables in the middle of an expression. Sure you can.