code: def angle(vec1, vec2):
          
          dotp = Vector2.dot(vec1, vec2)
          mag1 = vec1.length()
          mag2 = vec2.length()
          result = dotp / (mag1 * mag2)
          return math.acos(result)
docs: Calculate the angle between two Vector2's