     },
     "outputs": [],
     "source": [
      "class Node(object):\n",
      "    def __init__(self, data):\n",
      "        self.next = None\n",
      "        self.data = data\n",
      "        \n",
      "    def __str__(self):\n",
 
</s> remove     "\n",
 </s> add     "    \n", </s> remove     "## Problem: Implement a linked list with insert, find, delete, and print methods\n",
 </s> add     "## Problem: Implement a linked list with insert, append, find, delete, and print methods\n",
    "%%writefile linked_list.py\n",
    "\n",
     },
     "outputs": [],
     "source": [
    "%%writefile linked_list.py\n",
    "\n",
      "class Node(object):\n",
      "    def __init__(self, data):\n",
      "        self.next = None\n",
      "        self.data = data\n",
      "        \n",
      "    def __str__(self):\n",
keep keep add keep 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