input: Write a python function to convert the given linked list to a Python list.
  assert linked_list_to_list(linked_list) == [1, 2, 3, 4]
  linked_list.push(0)
  assert linked_list_to_list(linked_list) == [0, 1, 2, 3, 4]
  linked_list.append(5)
  assert linked_list_to_list(linked_list) == [0, 1, 2, 3, 4, 5]
output: class ListNode:
      def __init__(self, value=0, next=None):
          self.value = value
          self.next = next
  
  class LinkedList:
      def __init__(self):
          self.head = None
  
      def push(self, value):
          new_node = ListNode(value)
          new_node.next = self.head
          self.head = new_node
  
      def append(self, value):
          new_node = ListNode(value)
          if not self.head:
              self.head = new_node
              return
          last = self.head
          while last.next:
              last = last.next
          last.next = new_node
  
  def linked_list_to_list(linked_list):
      result = []
      current = linked_list.head
      while current:
          result.append(current.value)
          current = current.next
      return result