Logic problem: need better logic for desired thruth table.
Skybuck Flying
skybuck2000 at hotmail.com
Thu May 28 23:49:15 EDT 2015
wrote in message news:mailman.152.1432869623.5151.python-list at python.org...
On Thu, May 28, 2015, at 17:50, Skybuck Flying wrote:
> Surpisingly enough I don't think there is a casual/common operator for
> this
> thruth table.
>
> AND does not apply.
> OR does not apply.
> XOR does not apply.
"
All sixteen possible logical operators have formal names. This one is
called "B implies A". It can be implemented, as others have mentioned
with "A or not B".
"
Ok thanks for this information.
I was just wondering how many thruth table combinations there can be for a
typical thruth table with 2 inputs and 1 output.
Since there are 2 inputs, this means 4 possible outputs, which means 2 to
the power of 4 different thruth tables possible, which is indeed 16.
Perhaps you have a link to all possible 16 thruth tables and their formal
names ? That would help !
Bye,
Skybuck.
More information about the Python-list
mailing list