Hi, it is not python bug. You refer the list j and remove the element in the same time, that is the problem. Python dinamicaly goes to the next element with the same index but apply it in the new list.
use this code instead: j = range(20) print j L = [x for x in j if x > 10] print L Sincerely Yours, Pujo -- http://mail.python.org/mailman/listinfo/python-list