Python Mystery Theatre -- Episode 3: Extend this

Raymond Hettinger vze4rx4y at verizon.net
Tue Jul 22 17:47:32 CEST 2003


[Steven Taschuk]
> > ACT VI -----------------------------------------
> > print "What is the technical name for this algorithm or transformation?"
>   [...]
>
> Heh.  Nice one.
>
> The technical name is "the identity transformation".


Ding ding! We have a winner.

Others thought the i,j swap was suspicious but did
not put the finger on left-to-right assignment undermining
the whole selection sort to make it do nothing at all.


Raymond Hettinger






More information about the Python-list mailing list