<doocs>1720.Decode XORed Array_1.py
def decode( encoded: List[int], first: int) -> List[int]:
    ans = [first]
    for e in encoded:
        ans.append(ans[-1] ^ e)
    return ans
def sample_funcname ( var_0 : List [ int ] , var_3 : int ) -> List [ int ] :
    var_4 = [ var_3 ]
    for var_5 in var_0 :
        var_4.append ( var_4 [ - 1 ] ^ var_5 )
    return var_4
