parameters: (self, A)
return_statement: return A
docstring: :type A: List[int]
          :rtype: List[int]
docstring_summary: :type A: List[int]
          :rtype: List[int]
docstring_tokens: : type A : List [ int ] : rtype : List [ int ]
function: def sortArrayByParity(self, A):
          """
          :type A: List[int]
          :rtype: List[int]
          """
          j = 0
          for i in range(len(A)):
              if(A[i] % 2 == 0):
                  A[i], A[j] = A[j], A[i]
                  j += 1
          return A
function_tokens: def sortArrayByParity ( self , A ) : j = 0 for i in range ( len ( A ) ) : if ( A [ i ] % 2 == 0 ) : A [ i ] , A [ j ] = A [ j ] , A [ i ] j += 1 return A