A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008909.html below:

[Python-Dev] Lukewarm about range literals

[Python-Dev] Lukewarm about range literalsKa-Ping Yee ping@lfw.org
Tue, 29 Aug 2000 15:09:46 -0500 (CDT)
On Tue, 29 Aug 2000, Greg Wilson wrote:
> The problem with using ellipsis is that there's no obvious way to include
> a stride --- how do you hit every second (or n'th) element, rather than
> every element?

As explained in the examples i posted,

    1, 3 .. 20

could produce

    (1, 3, 5, 7, 9, 11, 13, 15, 17, 19)


-- ?!ng




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