From e9b618c28e8f25ddf3680215796d055cda687f03 Mon Sep 17 00:00:00 2001 From: iridiumR Date: Wed, 21 Sep 2022 11:32:47 +0800 Subject: [PATCH] fix(ALandML): fix e1.0 --- AIandML/e1_python_basics/e1.0_python.ipynb | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/AIandML/e1_python_basics/e1.0_python.ipynb b/AIandML/e1_python_basics/e1.0_python.ipynb index 969473c..7952002 100644 --- a/AIandML/e1_python_basics/e1.0_python.ipynb +++ b/AIandML/e1_python_basics/e1.0_python.ipynb @@ -26,14 +26,14 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 42, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Linus Torvalds once said,\n" + "Linus Torvalds once said, \"So nvidia, fuck you.\"\n" ] } ], @@ -41,7 +41,7 @@ "famous_person=\"Linus Torvalds\"\n", "message=\"So nvidia, fuck you.\"\n", "nHex = 0xFF\n", - "print(\"%s once said, \\\"%s\\\" %(famous_person, message))" + "print(\"%s once said, \\\"%s\\\"\" %(famous_person, message))" ] }, { @@ -400,9 +400,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 40, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "One of my favorite books is Alice in Wonderland.\n" + ] + } + ], "source": [ "def favorite_book(title:str)->None:\n", " print(\"One of my favorite books is %s.\" %title)\n",