comefrom: <doocs>1310.XOR Queries of a Subarray_1.py
code: def xorQueries( arr: List[int], queries: List[List[int]]) -> List[int]:
      xors = [0]
      for v in arr:
          xors.append(xors[-1] ^ v)
      return [xors[l] ^ xors[r + 1] for l, r in queries]
masked: def sample_funcname ( var_0 : List [ int ] , var_3 : List [ List [ int ] ] ) -> List [ int ] :
      var_5 = [ 0 ]
      for var_6 in var_0 :
          var_5.append ( var_5 [ - 1 ] ^ var_6 )
      return [ var_5 [ var_9 ] ^ var_5 [ var_10 + 1 ] for var_9 , var_10 in var_3 ]
  