[EMAIL PROTECTED] wrote: > i m trying to reverse the order in which the > strings are stored in list > > then pop it into another list > > what m i doin worng?? > > here's the code: > > list1 = [] > list2 = [] > list1.extend('123456789')
How about this instead (Python 2.4 or later): list2 = list(reversed('123456789')) -Peter -- http://mail.python.org/mailman/listinfo/python-list