input: 
  def traverse_linked_list_from_end(double_linked_list) -> list:
      """ Traverse the given doubly linked list starting from the end and return the 
      data of each node in a list.
      >>> traverse_linked_list_from_end(DoubleLinkedList())
      []
      >>> double_list = DoubleLinkedList()
      >>> double_list.append(1)
      >>> double_list.append(2)
      >>> double_list.append(3)
      >>> traverse_linked_list_from_end(double_list)
      [3, 2, 1]
      """
  
output:     result = []
      current = double_linked_list.tail
      while current:
          result.append(current.data)
          current = current.prev
      return result