Commit 29502865 authored by Luke Ng's avatar Luke Ng
Browse files

Reformated display for the number of articles.

parent 6fa5e0cf
Loading
Loading
Loading
Loading
+2 −10
Changes for Topic_03/4.webscrape_AsiaOne-Exercise.ipynb: 2 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@
    "# Using \"find_all\" and \"find\".\r\n",
    "articles = soup_asiaone.find_all(\"a\", {\"route\":\"Article\"})\r\n",
    "\r\n",
    "print(len(articles))\r\n",
    "print(\"Number of articles: {}\".format(len(articles)))\r\n",
    "print(\"\\n\")\r\n",
    "\r\n",
    "for article in articles:\r\n",
@@ -245,16 +245,8 @@
   "name": "python394jvsc74a57bd0ac59ebe37160ed0dfa835113d9b8498d9f09ceb179beaac4002f036b9467c963"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.4"
   "version": ""
  },
  "metadata": {
   "interpreter": {