parameters: (x, y)
return_statement: return sum
docstring: >>> dot((2, 3)*meter, (4, 5)*meter)
      Quantity(value=23, unit=meter**2)
docstring_summary: >>> dot((2, 3)*meter, (4, 5)*meter)
      Quantity(value=23, unit=meter**2)
docstring_tokens: >>> dot (( 2 3 ) * meter ( 4 5 ) * meter ) Quantity ( value = 23 unit = meter ** 2 )
function: def dot(x, y):
      """
      >>> dot((2, 3)*meter, (4, 5)*meter)
      Quantity(value=23, unit=meter**2)
      """
      sum = x[0]*y[0]
      for i in range(1, len(x)):
          sum += x[i]*y[i]
      return sum
function_tokens: def dot ( x , y ) : sum = x [ 0 ] * y [ 0 ] for i in range ( 1 , len ( x ) ) : sum += x [ i ] * y [ i ] return sum