very good reasons?

Janko Hauser jhauser at ifm.uni-kiel.de
Fri Sep 29 16:05:08 EDT 2000


Sorry have forgotten to mention what I mean by `this'. I meant the
answer from Bjoern, which has a <wink?> added, but now I wonder, if
this is a <0.5 wink?>.

__Janko

Janko Hauser <jhauser at ifm.uni-kiel.de> writes:

> Hope that this is a joke, but form the wonderful lesson just learned,
> this would be
> 
> >>> a=[2,3,1]
> >>> for i in a.sort() or a:
> ...    print i
> ... 
> 1
> 2
> 3
> >>> 
> 
> IMHO this is a real python idiom, like the 'while 1: ... break' thing.
> 
> __Janko
> -- 
>   Institut fuer Meereskunde             phone: 49-431-597 3989
>   Dept. Theoretical Oceanography        fax  : 49-431-565876
>   Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
>   24105 Kiel, Germany

-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list