fix(ALandML): fix e1.0

This commit is contained in:
iridiumR 2022-09-21 11:32:47 +08:00
parent 6b1ba00aa4
commit e9b618c28e

View file

@ -26,14 +26,14 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 42,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"Linus Torvalds once said,\n" "Linus Torvalds once said, \"So nvidia, fuck you.\"\n"
] ]
} }
], ],
@ -41,7 +41,7 @@
"famous_person=\"Linus Torvalds\"\n", "famous_person=\"Linus Torvalds\"\n",
"message=\"So nvidia, fuck you.\"\n", "message=\"So nvidia, fuck you.\"\n",
"nHex = 0xFF\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", "cell_type": "code",
"execution_count": null, "execution_count": 40,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"One of my favorite books is Alice in Wonderland.\n"
]
}
],
"source": [ "source": [
"def favorite_book(title:str)->None:\n", "def favorite_book(title:str)->None:\n",
" print(\"One of my favorite books is %s.\" %title)\n", " print(\"One of my favorite books is %s.\" %title)\n",