On Sat, Oct 6, 2012 at 4:29 PM, Dave Angel <d...@davea.name> wrote: > To turn an integer (0-6, or whatever) into a string, just use a tuple of > the same size: > > tran = ("MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", > "SATURDAY", "SUNDAY") > i = 1 > print tran[i] > > (prints "TUESDAY")
Why did you choose "tran"? Dick _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor