input: from typing import List
  
  
  def parse_vector_3d(lines: List[str]) -> List[Vector3D]:
      """ Parse a list of strings where each string represents a 3D vector in the format '(x, y, z)', and return a list of Vector3D objects.
      >>> parse_vector_3d(["(1, 2, 3)", "(4, 5, 6)"])
      [Vector3D(1, 2, 3), Vector3D(4, 5, 6)]
      """
output:     from collections import namedtuple
      Vector3D = namedtuple('Vector3D', ['x', 'y', 'z'])
      
      vectors = []
      for line in lines:
          line = line.strip()[1:-1]  # Remove parentheses
          x, y, z = map(float, line.split(','))
          vectors.append(Vector3D(x, y, z))
      
      return vectors