      "\n",
      "class LinkedList(object):\n",
      "    def __init__(self, head):\n",
      "        self.head = head\n",
      "\n",
      "    def insert_to_front(self, data):\n",
      "        if data is None:\n",
      "            return\n",
      "        node = Node(data)\n",
      "        if self.head is None:\n",
 
</s>
    "    \n",
      "\n",
      "class LinkedList(object):\n",
      "    def __init__(self, head):\n",
      "        self.head = head\n",
    "    \n",
      "    def insert_to_front(self, data):\n",
      "        if data is None:\n",
      "            return\n",
      "        node = Node(data)\n",
      "        if self.head is None:\n",
keep keep keep keep replace keep keep keep keep keep
 Added append method to linked list.  Saved linked list code to file for future reference in linked list problems.
linked-lists/linked-list.ipynb