#Program to perform logical operations
x =True
y =True
print(x and not y)
print(not x and y)
print(not x and not y)
print(x or not y)
print(not x or y)
print(not x or not y)
print("Precedence order is")
print("Not->And->Or")

ada91a70d3d157f9e4ac4b629a87e5200392629f
<mask token>

<mask token>
print(x and not y)
print(not x and y)
print(not x and not y)
print(x or not y)
print(not x or y)
print(not x or not y)
print('Precedence order is')
print('Not->And->Or')

x = True
y = True
print(x and not y)
print(not x and y)
print(not x and not y)
print(x or not y)
print(not x or y)
print(not x or not y)
print('Precedence order is')
print('Not->And->Or')

#Program to perform logical operations
x =True
y =True
print(x and not y)
print(not x and y)
print(not x and not y)
print(x or not y)
print(not x or y)
print(not x or not y)
print("Precedence order is")
print("Not->And->Or")
