On 28-Dec-2010, at 10:14 PM, Wayne Werner wrote:

> On Tue, Dec 28, 2010 at 10:05 AM, Brett Ritter <swift...@swiftone.org> wrote:
> <snip> (though I have to constantly reteach myself not to
> use semicolons :) ). <snip>
> 
> Technically speaking, you *can* use semicolons in Python:
> 
> if 3 == int('3'):
>    print('Cool');
> 
> works the same sans semicolon.

And so does following...

>>> if 3 == int('3'):
...     print 'hello';print 'world'
... 
hello
world
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to