XOR Operation on Boolean List

Implement a function carrying out a left-to-right XOR operation on Boolean pairs in a provided list.

Write a function named `perform_xor_operation` which takes a list of Boolean values as input. The function should perform an XOR operation on all the values in the list sequentially from left to right and return the final result. The XOR operation returns `True` if the count of `True` is odd in a pair, and `False` if it's even. ### Parameters - `boolean_list` (list): A list containing only Boolean values i.e. True and False. ### Return Value - Returns a single Boolean value, the result of performing the XOR operation on all the elements of the input list. ### Examples ```python # The XOR operation takes the list [True, True, False, False] to [False, False] and finally yields False perform_xor_operation([True, True, False, False]) # Returns: False ``` ## Template Code ```python def perform_xor_operation(boolean_list): pass # Test cases print(perform_xor_operation([True, True, False, False])) # False ```