> > for var in [value,value_1]:
> >    var = "green"
>
> Um, that won't work.   You typed that example too quickly.


Oops! Yes. You'd need to enumerate and access the variables
via an index. yuk. Don't do it folks! :-)

Excuse: It was early morning and I hadn't had any coffee...

Alan G.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to