XOR logic The exclusive or(XOR) is a logical operator that accepts two inputs of type Boolean. The operator outputs ‘True’ if either of the inputs are true but not both. Write a function that can evaluate and prints the XOR given two Boolean inputs.
def logical_xor(a,b):
a = input("enrter an algebric boolean: ")
b = input("enrter another algebric boolean: ")
if bool(a) == bool(b):
print(bool(a) or bool(b))
elif bool(a) != bool(b):
print()
logical_xor(True,True)