Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'received:internal': 0.09; 'thu,': 0.15; 'combinations': 0.16; 'inputs': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'wrote:': 0.16; 'subject:need': 0.18; 'typical': 0.18; 'names.': 0.22; 'subject:problem': 0.22; 'bit': 0.23; 'tables': 0.23; 'header:In-Reply-To:1': 0.24; 'wondering': 0.25; 'flying': 0.29; 'url:wikipedia': 0.29; 'url:wiki': 0.30; 'table': 0.32; 'to:addr :python-list': 0.35; 'possible,': 0.35; 'url:org': 0.36; 'there': 0.36; 'thanks': 0.36; 'possible': 0.36; 'received:10': 0.37; 'subject:: ': 0.37; 'received:66': 0.38; 'names': 0.38; 'means': 0.39; 'url:en': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.62; 'different': 0.64; 'power': 0.72 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=xdq8mLx8qe1VLzn6OwQPFLIR6z4=; b=VzAJTt FuZKHntQPQJMAURB/yDRDJM6JLdsuQ0BmVFZSvo1sdEe2xWFd/0nM3mi6o4Cunj9 c++8SuJc1v5cJ6CHnqa09arCHlEeABq4THeorWol8NhK8PID1JsAhR9OenTIAir9 rDaP30RFlYZDcXyyXjLsu1dPSX8V/uIrxCzKU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=xdq8mLx8qe1VLzn 6OwQPFLIR6z4=; b=M305iwgdl9tSx6S2+Je91R+YpzDRdMfyuJwZfKCShqPlw4U q5Q4uoV27XuUc8GWL7Su1IHKDZafmExiq0GrVLpf+z3fRS1afUpk3dGgJJIVCz7P hgmtaKYekw6aPuWkj1FZFdxwjSEmu/fYMJOyQTFIbvvX5E7oegtVuX3M1Xko= X-Sasl-Enc: O2AMG9eZjDD9jB0fk55QLVKJivehQemOao55rSPul/H9 1432901565 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-073992ec Subject: Re: Logic problem: need better logic for desired thruth table. Date: Fri, 29 May 2015 08:12:45 -0400 In-Reply-To: References: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432901568 news.xs4all.nl 2969 [2001:888:2000:d::a6]:59487 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91449 On Thu, May 28, 2015, at 23:49, Skybuck Flying wrote: > 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 ! http://en.wikipedia.org/wiki/Truth_table#Binary_operations Scroll down a bit for the formal names.