# Tabela verdade do operador and
print('Exibindo a tabela verdade do operador and')

print('True and True')
print(True and True)
print()

print('True and False')
print(True and False)
print()

print('False and True')
print(False and True)
print()

print('False and False')
print(False and False)
print()

# Tabela verdade do operador or
print('Exibindo a tabela verdade do operador or')

print('True or True')
print(True or True)
print()

print('True or False')
print(True or False)
print()

print('False or True')
print(False or True)
print()

print('False or False')
print(False or False)
print()

# Tabela verdade do operador not
print('Exibindo a tabela verdade do operador not')

print('not True')
print(not True)
print()

print('not False')
print(not False)
print()

print('not not False')
print(not not False)
print()

# Exemplos utilizando operadores booleanos e de comparação
print('Exemplos utilizando operadores booleanos e de comparação')

print('(4 < 5) and (5 <6)')
print((4 < 5) and (5 <6))
print()

print('(4 <5) and (9 < 6)')
print((4 <5) and (9 < 6))
print()

print('(1 == 2) or (2 == 2)')
print((1 == 2) or (2 == 2))
print()

print('2 + 2 == 4 and 2 + 2 == 5 and 2 * 2 == 2 + 2')
print(2 + 2 == 4 and 2 + 2 == 5 and 2 * 2 == 2 + 2)
print()

print('2 + 2 == 4 and not 2 + 2 == 5 and 2 * 2 == 2 + 2')
print(2 + 2 == 4 and not 2 + 2 == 5 and 2 * 2 == 2 + 2)
