modifying iterator value.

chun ping wang cablepuff at hotmail.com
Wed Apr 26 15:47:21 EDT 2006


Hi, I have something simple i want to do.

i want to modify an iterator value.

for x in someList
    x = 1

is it possible to do that..if not how do i modify a list using iteration.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the Python-list mailing list