name for a mutually inclusive relationship

Alan Gauld alan.gauld at yahoo.co.uk
Fri Feb 26 04:57:14 EST 2021


On 26/02/2021 04:30, Ethan Furman wrote:

>> Do you have a specific problem you're trying to solve?
> 
> No, I just came across the concept in my browsing and 
> was wondering if there was a name for it.  

If we stick with boolean values (like radio buttons
and checkboxes) then I think the name is "equality"

A  B    Result
--------------
0  0      1
0  1      0
1  0      0
1  1      1

So you determine "success" by whether all
inputs are equal. (Or as somebody else
said "not xor")

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Python-list mailing list