diff --git a/module1.ipynb b/module1.ipynb index 2ddab87..07ca049 100644 --- a/module1.ipynb +++ b/module1.ipynb @@ -275,11 +275,7 @@ }, { "cell_type": "markdown", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, "source": [ "# Practical Application of diff and patch\n", "\n", @@ -301,6 +297,7 @@ "\n", "## **File with code**\n", "\n", + "```\n", "#!/usr/bin/env python3\n", "\n", "import shutil\n", @@ -337,10 +334,6 @@ "\n", "return 0\n", "\n", - "\n", - "\n", - "\n", - "```\n", "./disk\\_usage\\_fixed.py \n", "\n", "#this throws an error\n", @@ -360,7 +353,7 @@ "## File with code\n", "\n", "The instructor adds import sys at the beginning, then change return 1 to sys.exit(1) and return 0 to sys.exit(0).\n", - "\n", + "```\n", "#!/usr/bin/env python3\n", "\n", "import shutil\n", @@ -399,8 +392,6 @@ "\n", "sys.exit(0)\n", "\n", - "\n", - "```\n", "./disk\\_usage\\_fixed.py\n", "```\n", "\n", @@ -412,7 +403,7 @@ "## File with code\n", "\n", "Instructor changed change check\\_disk\\_usage(\"/\", 2\\*2\\*\\*30, 10) in previous file to check\\_disk\\_usage(\"/\", 2, 10).\n", - "\n", + "```\n", "#!/usr/bin/env python3\n", "\n", "import shutil\n", @@ -451,8 +442,6 @@ "\n", "sys.exit(0)\n", "\n", - "\n", - "```\n", "./disk\\_usage\\_fixed.py \n", "```\n", "\n",