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/007403.html below:

[Python-Dev] PEP202

[Python-Dev] PEP202Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 26 Jul 2000 14:52:31 +1200 (NZST)
> did Python just turn into something that is much harder to parse?

Guido has already answered this, but just to make sure,
I tried it out on my test implementation:

s454% ./python
Python 1.5.2 (#11, Sep 11 1999, 16:11:20)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> seq = [1,2,3,4,5]
>>> [x, x*2 for x in seq]
[(1, 2), (2, 4), (3, 6), (4, 8), (5, 10)]
>>> 

Yep, it works!

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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