On 19 May 2005 06:56:45 -0700,
"rh0dium" <[EMAIL PROTECTED]> wrote:

> Hi All,
> While I know there is a zillion ways to do this..  What is the most
> efficient ( in terms of lines of code ) do simply do this.

> a=1, b=2, c=3 ... z=26

    (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) = range( 1, 27 )

> Now if we really want some bonus points..

> a=1, b=2, c=3 ... z=26 aa=27 ab=28 etc..

It's still one line, following the pattern from above, just longer.

Now why do you want to do this?

Regards,
Dan

-- 
Dan Sommers
<http://www.tombstonezero.net/dan/>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to