A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/007347.html below:

[Python-Dev] List comprehension syntax (Features for Python 2.0)

[Python-Dev] List comprehension syntax (Features for Python 2.0) [Python-Dev] List comprehension syntax (Features for Python 2.0)Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Tue, 25 Jul 2000 20:31:10 +0200
mal wrote:
> Wouldn't it make much more sense to write something
> more lambda function like, e.g.
>=20
>     [for (x,y) in zip([10,20,30], [1,2,3]): x+y]
>=20
> or
>=20
>     [for x in range(100): x*2]

fwiw, I read that as:

    [
        for x in range(100):
            x * 2
    ]

which makes no sense at all.

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4