setting variables from a tuple NEWB

manstey manstey at csu.edu.au
Thu Jul 6 07:20:01 EDT 2006
Hi,

If I have a tuple like this:

tupGlob = (('VOWELS','aeiou'),('CONS','bcdfgh'))

is it possible to write code using tupGlob that is equivalent to:
VOWELS = 'aeiou'
CONS = ''bcdfgh'

Thanks,
Matthew




More information about the Python-list mailing list