Sujet : Re: Why Python When There Is Perl?
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacyDate : 24. Mar 2024, 14:21:17
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17bfb2b5c8fa9a1a$288$3037545$802601b3@news.usenetexpress.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
On Sat, 23 Mar 2024 23:10:03 -0500, Physfitfreak wrote:
But still some ambiguity remains in my mind.
(A AND B) = (B AND A), and (A OR B) = (B OR A). They commute, so to
speak. But (A IMP B) doesn't commute.
>
It does, in a sense. The "opposite" of A => B is ~B => ~A.
If a number is not odd (not in set B), then it is not prime
(not in set A).
(Keep in mind that set A is all primes >=3 and <=100, so
it excludes 2. See previous post.)
The same truth/false conditions apply:
True for "B OR ~A".
False for "~B AND A"