parameters: (array)
return_statement: return a/2, p
docstring: Scalar!
docstring_summary: Scalar!
docstring_tokens: Scalar!
function: def find_area_perim(array):
      """
      Scalar!
      """
      a = 0
      p = 0
      ox, oy = array[0]
      for x, y in array[1:]:
          a += (x*oy-y*ox)
          p += abs((x-ox)+(y-oy)*1j)
          ox, oy = x, y
      return a/2, p
function_tokens: def find_area_perim ( array ) : a = 0 p = 0 ox , oy = array [ 0 ] for x , y in array [ 1 : ] : a += ( x * oy - y * ox ) p += abs ( ( x - ox ) + ( y - oy ) * 1j ) ox , oy = x , y return a / 2 , p