Ok so below this paragraph is a chart that I attempted to copy over to here to assist me with explaining my problem. I am doing a course to teach myself Python programming. mid-way through the course I encounter a lesson on 'Booleon Logics'and the chart below is in the lesson.
I understand the simple ones like:
-'not False' "True"
-'True or True' "True"
But then I approach some that make no sense to me:
-'True and False' "False"----Why?
-'True or False' "True"-----How?
How is that conclusion made? There has got to be something im missing here. I realize I could just go ahead and memorize the chart but there has got to be a reasoning that will help me understand.
NOT True?
not False True
not True False
OR True?
True or False True
True or True True
False or True True
False or False False
AND True?
True and False False
True and True True
False and True False
False and False False
NOT OR True?
not (True or False) False
not (True or True) False
not (False or True) False
not (False or False) True
NOT AND True?
not (True and False) True
not (True and True) False
not (False and True) True
not (False and False) True
!= True?
1 != 0 True
1 != 1 False
0 != 1 True
0 != 0 False
== True?
1 == 0 False
1 == 1 True
0 == 1 False
0 == 0 True