Can Anyone Help me on this

blah@blah.blah blahman
Thu Nov 3 12:12:59 EST 2005


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')

print list1

for a in list1:
    list2 = list1.pop()

print list2
-- 
 * Posted with NewsLeecher v3.0 Beta 7
 * http://www.newsleecher.com/?usenet



More information about the Python-list mailing list