Re: Why Python When There Is Perl?

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Why Python When There Is Perl?
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy
Date : 22. Mar 2024, 23:04:54
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17bf321f9c15028e$2$2218499$802601b3@news.usenetexpress.com>
References : 1 2 3 4 5 6
On Thu, 21 Mar 2024 21:01:30 -0500, Physfitfreak wrote:

 
IMP
0 IMP 0  = 1
0 IMP 1  = 1
1 IMP 0  = 0
1 IMP 1  = 1
 
How can that be explained?...
>

You must understand the "math" of logic.

A => B is equivalent to "~A OR B" (~ is negation)

The negation (falsification) of this is "A AND ~B"

You can play around with this by considering the statements:

A = "If it is raining"

B = "The sky is cloudy"

The only way that A => B is false is if A is true and B
is false.



Date Sujet#  Auteur
5 Oct 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal