On Thu, 28 May 2015 14:58:19 -0700, sohcahtoa82 wrote:

> On Thursday, May 28, 2015 at 2:50:18 PM UTC-7, Skybuck Flying wrote:
>> Hello,

>> # Desired truth table for BotWaitForCooldown and CooldownDetected 
>> # BotWaitForCooldown:  CooldownDetected: Desired Result:
>> # False                False             True 
>> # False                True              False 
>> # True                 False             True 
>> # True                 True              True 

> I think the logic you're really looking for is:

> return BotWaitForCooldown or (not (BotWaitForCooldown or
> CooldownDetected))

Nope, it simplifies to:

BotWaitForCooldown or not CooldownDetected

-- 
Denis McMahon, denismfmcma...@gmail.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to