code: def get_child(parent, child_index):
      
      if child_index < 0 or child_index >= len(parent.childNodes):
          return None
      return parent.childNodes[child_index]
docs: Get the child at the given index, or return None if it doesn't exist.