> Is there a way to apply multiple actions within one list comprehension?
Write a function? def foo(i): # do stuff to i return i [foo(i) for i in alist] Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor