[Chicago] newbie says HI; needs help

Atul Varma varmaa at gmail.com
Fri Jan 20 18:43:15 CET 2006


On 1/20/06, Ian Bicking <ianb at colorstudy.com> wrote:
> In Python 2.5 you'll be able to do:
>
>    1 if texture in ['flakey', 'caked'] else 2

Uh, what ever happened to "there's only one way to do it"?  The reason
Python didn't have stuff like this is why I always liked it over Perl
or Ruby.

Ah, well.  If I ever have to teach someone Python, I'm just gonna show
them Python 2.1. ;)

- Atul


More information about the Chicago mailing list