Hi, I wrote this small example to illustrate the usage of lists: even=[] odd=[]
for i in range(1,10): if i%2: odd.append(i) else: even.append(i) print "odd: "+str(odd) print "even: "+str(even) numbers=even numbers.extend(odd) print "numbers:"+str(numbers) numbers.sort() print "sorted numbers:"+str(numbers) any comment, suggestion? Is there something not elegant? Thnx PAolo -- http://mail.python.org/mailman/listinfo/python-list