parameters: (self, nums, index)
return_statement: return result
docstring: :type nums: List[int]
          :type index: List[int]
          :rtype: List[int]
docstring_summary: :type nums: List[int]
          :type index: List[int]
          :rtype: List[int]
docstring_tokens: : type nums : List [ int ] : type index : List [ int ] : rtype : List [ int ]
function: def createTargetArray(self, nums, index):
          """
          :type nums: List[int]
          :type index: List[int]
          :rtype: List[int]
          """
          result = []
          for i, x in itertools.izip(index, nums):
              result.insert(i, x)
          return result
function_tokens: def createTargetArray ( self , nums , index ) : result = [ ] for i , x in itertools . izip ( index , nums ) : result . insert ( i , x ) return result