"Glen Clark" <gle...@gmail.com> wrote
On a side note.. I didn't know you could do something like this:

x = z if ....

Yes it's python's equivalent to the C style
foo = testVal() ? bar : baz

Also found in other languages (Java, Javascript, Perl?)

Alan G.

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

Reply via email to