syntax question - if 1:print 'a';else:print 'b'
Gregory Piñero
gregpinero at gmail.com
Wed Oct 26 18:07:49 EDT 2005
Any idea why I can't say:
if 1:print 'a';else:print 'b'
all in one line like that?
It's just a random question I ran across a few days ago.
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com <http://www.blendedtechnologies.com>)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051026/ce96775c/attachment.html>
More information about the Python-list
mailing list