code: def from_list(lst):
          
          if not lst:
              return None
  
          head = Node(lst[0], None)
  
          if len(lst) == 1:
              return head
  
          head.next_node = LinkedList.from_list(lst[1:])
          return head
docs: Parses list
  
          :param lst: list of elements
          :return: LinkedList: Nodes from list