[Tutor] Choice of Python
शंतनू
shantanoo at gmail.com
Tue Dec 28 18:12:46 CET 2010
On 28-Dec-2010, at 10:14 PM, Wayne Werner wrote:
> On Tue, Dec 28, 2010 at 10:05 AM, Brett Ritter <swiftone at 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
More information about the Tutor
mailing list