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/2006-May/065226.html below:

[Python-Dev] A Horrible Inconsistency

[Python-Dev] A Horrible Inconsistency [Python-Dev] A Horrible InconsistencyFred L. Drake, Jr. fdrake at acm.org
Fri May 26 18:00:44 CEST 2006
On Friday 26 May 2006 11:50, Georg Brandl wrote:
 > This is actually a nice idea, because it's even a more nonintuitive
 > answer for Python newbies posting to c.l.py asking how to reverse
 > a string <wink>

Even better:

    "123"*-1

We'd get to explain:

- what the "*-" operator is all about, and

- why we'd use it with a string and an int.

I see possibilities here.  :-)


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
More information about the Python-Dev mailing list

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