On Sat, Jan 24, 2009 at 10:36 AM, Vicent wrote:
> But this is not nice:
>
type(a)
>
a
> True
a = 0
type(a)
>
>
>
> I mean, being "a" a boolean variable, it works as if it was a number, but
> every time I want to update the value of "a", I must put "False" for 0 and
> "True"
Sorry, I answered only to Eugene...
-- Forwarded message --
From: Vicent
Date: Sat, Jan 24, 2009 at 15:42
Subject: Re: [Tutor] Defining "bit" type
To: Eugene Perederey
On Sat, Jan 24, 2009 at 15:31, Eugene Perederey
wrote:
> Hi,
> type 'bool' takes only True and False. Is i