"""
and
**************************************
True and True   --> True
True and False  --> False
False and False --> False
**************************************

or
**************************************
True or True   --> True
True or False  --> True
False or False --> False
**************************************

not
**************************************
Not True  --> False
Not False --> True
"""

#variables
eq1 = (10 == 10)
eq2 = (10 > 9)
eq3 = (10 < 9)
eq4 = (10 > 10)
eq5 = (10 < 10)
eq6 = (10 >= 10)
eq7 = (10 <= 10)

print("%"*25)
print("Showing boolean operator results for 'AND'")
and_output1 = eq1 and eq2
print("The logical/boolean operator output for " + str(str(eq1)) + " and " + str(str(eq2)) + " is " + str(and_output1))
#print(and_output1)  + print("and_output1 = (10 == 10) and (10 > 9)")
and_output2 = (10 == 10) and (10 < 9)
print("The logical/boolean operator output for '(10 == 10) and (10 < 9)' is " + str(and_output2))
and_output3 = (10 > 10) and (10 < 9)
print("The logical/boolean operator output for '(10 > 10) and (10 < 9)' is " + str(and_output3))
and_output4 = eq1 and eq6
pprint("The logical/boolean operator output for " + str(eq1) + " and " + str(eq6) + " is " + str(and_output4))

print("%"*25)
print("Showing boolean operator results for 'OR'")
or_output1 = (10 == 10) or (10 > 9)
print("The logical/boolean operator output for '(10 == 10) or (10 > 9)' is " + str(or_output1))
or_output2 = (10 == 10) or (10 < 9)
print("The logical/boolean operator output for '(10 == 10) or (10 < 9)' is " + str(or_output2))
or_output3 = (10 > 10) or (10 < 9)
print("The logical/boolean operator output for '(10 > 10) or (10 < 9)' is " + str(or_output3))


print("%"*25)
print("Showing boolean operator results for 'NOT'")
not_true = not (10 == 10)
print("The logical/boolean operator output for 'not (10 == 10)' is " + str(not_true))
not_false = not (10 > 10)
print("The logical/boolean operator output for 'not (10 > 10)' is " + str(not_false))

print(not_false)

4620cadec349f6eafb70327d8f2409c9bc3478a0
<mask token>

<mask token>
print('%' * 25)
print("Showing boolean operator results for 'AND'")
<mask token>
print('The logical/boolean operator output for ' + str(str(eq1)) + ' and ' +
    str(str(eq2)) + ' is ' + str(and_output1))
<mask token>
print(
    "The logical/boolean operator output for '(10 == 10) and (10 < 9)' is " +
    str(and_output2))
<mask token>
print(
    "The logical/boolean operator output for '(10 > 10) and (10 < 9)' is " +
    str(and_output3))
<mask token>
pprint('The logical/boolean operator output for ' + str(eq1) + ' and ' +
    str(eq6) + ' is ' + str(and_output4))
print('%' * 25)
print("Showing boolean operator results for 'OR'")
<mask token>
print(
    "The logical/boolean operator output for '(10 == 10) or (10 > 9)' is " +
    str(or_output1))
<mask token>
print(
    "The logical/boolean operator output for '(10 == 10) or (10 < 9)' is " +
    str(or_output2))
<mask token>
print("The logical/boolean operator output for '(10 > 10) or (10 < 9)' is " +
    str(or_output3))
print('%' * 25)
print("Showing boolean operator results for 'NOT'")
<mask token>
print("The logical/boolean operator output for 'not (10 == 10)' is " + str(
    not_true))
<mask token>
print("The logical/boolean operator output for 'not (10 > 10)' is " + str(
    not_false))
print(not_false)

<mask token>
eq1 = 10 == 10
eq2 = 10 > 9
eq3 = 10 < 9
eq4 = 10 > 10
eq5 = 10 < 10
eq6 = 10 >= 10
eq7 = 10 <= 10
print('%' * 25)
print("Showing boolean operator results for 'AND'")
and_output1 = eq1 and eq2
print('The logical/boolean operator output for ' + str(str(eq1)) + ' and ' +
    str(str(eq2)) + ' is ' + str(and_output1))
and_output2 = 10 == 10 and 10 < 9
print(
    "The logical/boolean operator output for '(10 == 10) and (10 < 9)' is " +
    str(and_output2))
and_output3 = 10 > 10 and 10 < 9
print(
    "The logical/boolean operator output for '(10 > 10) and (10 < 9)' is " +
    str(and_output3))
and_output4 = eq1 and eq6
pprint('The logical/boolean operator output for ' + str(eq1) + ' and ' +
    str(eq6) + ' is ' + str(and_output4))
print('%' * 25)
print("Showing boolean operator results for 'OR'")
or_output1 = 10 == 10 or 10 > 9
print(
    "The logical/boolean operator output for '(10 == 10) or (10 > 9)' is " +
    str(or_output1))
or_output2 = 10 == 10 or 10 < 9
print(
    "The logical/boolean operator output for '(10 == 10) or (10 < 9)' is " +
    str(or_output2))
or_output3 = 10 > 10 or 10 < 9
print("The logical/boolean operator output for '(10 > 10) or (10 < 9)' is " +
    str(or_output3))
print('%' * 25)
print("Showing boolean operator results for 'NOT'")
not_true = not 10 == 10
print("The logical/boolean operator output for 'not (10 == 10)' is " + str(
    not_true))
not_false = not 10 > 10
print("The logical/boolean operator output for 'not (10 > 10)' is " + str(
    not_false))
print(not_false)

"""
and
**************************************
True and True   --> True
True and False  --> False
False and False --> False
**************************************

or
**************************************
True or True   --> True
True or False  --> True
False or False --> False
**************************************

not
**************************************
Not True  --> False
Not False --> True
"""

#variables
eq1 = (10 == 10)
eq2 = (10 > 9)
eq3 = (10 < 9)
eq4 = (10 > 10)
eq5 = (10 < 10)
eq6 = (10 >= 10)
eq7 = (10 <= 10)

print("%"*25)
print("Showing boolean operator results for 'AND'")
and_output1 = eq1 and eq2
print("The logical/boolean operator output for " + str(str(eq1)) + " and " + str(str(eq2)) + " is " + str(and_output1))
#print(and_output1)  + print("and_output1 = (10 == 10) and (10 > 9)")
and_output2 = (10 == 10) and (10 < 9)
print("The logical/boolean operator output for '(10 == 10) and (10 < 9)' is " + str(and_output2))
and_output3 = (10 > 10) and (10 < 9)
print("The logical/boolean operator output for '(10 > 10) and (10 < 9)' is " + str(and_output3))
and_output4 = eq1 and eq6
pprint("The logical/boolean operator output for " + str(eq1) + " and " + str(eq6) + " is " + str(and_output4))

print("%"*25)
print("Showing boolean operator results for 'OR'")
or_output1 = (10 == 10) or (10 > 9)
print("The logical/boolean operator output for '(10 == 10) or (10 > 9)' is " + str(or_output1))
or_output2 = (10 == 10) or (10 < 9)
print("The logical/boolean operator output for '(10 == 10) or (10 < 9)' is " + str(or_output2))
or_output3 = (10 > 10) or (10 < 9)
print("The logical/boolean operator output for '(10 > 10) or (10 < 9)' is " + str(or_output3))


print("%"*25)
print("Showing boolean operator results for 'NOT'")
not_true = not (10 == 10)
print("The logical/boolean operator output for 'not (10 == 10)' is " + str(not_true))
not_false = not (10 > 10)
print("The logical/boolean operator output for 'not (10 > 10)' is " + str(not_false))

print(not_false)
