Skip to content

Commit 6c25be5

Browse files
TODO: 71题开始
1 parent 8e99a6c commit 6c25be5

File tree

2 files changed

+235
-93
lines changed

2 files changed

+235
-93
lines changed

exercises.ipynb

+15-3
Original file line numberDiff line numberDiff line change
@@ -2272,10 +2272,22 @@
22722272
},
22732273
{
22742274
"cell_type": "code",
2275-
"execution_count": null,
2275+
"execution_count": 1,
22762276
"id": "ea22511b",
22772277
"metadata": {},
2278-
"outputs": [],
2278+
"outputs": [
2279+
{
2280+
"ename": "NameError",
2281+
"evalue": "name 'unicode' is not defined",
2282+
"output_type": "error",
2283+
"traceback": [
2284+
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
2285+
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
2286+
"Cell \u001b[1;32mIn[1], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m s \u001b[38;5;241m=\u001b[39m \u001b[38;5;28minput\u001b[39m()\n\u001b[1;32m----> 2\u001b[0m u \u001b[38;5;241m=\u001b[39m \u001b[43municode\u001b[49m( s ,\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mutf-8\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m 3\u001b[0m \u001b[38;5;28mprint\u001b[39m(u)\n",
2287+
"\u001b[1;31mNameError\u001b[0m: name 'unicode' is not defined"
2288+
]
2289+
}
2290+
],
22792291
"source": [
22802292
"s = input()\n",
22812293
"u = unicode( s ,\"utf-8\")\n",
@@ -3525,7 +3537,7 @@
35253537
"name": "python",
35263538
"nbconvert_exporter": "python",
35273539
"pygments_lexer": "ipython3",
3528-
"version": "3.9.13"
3540+
"version": "0.0.0"
35293541
}
35303542
},
35313543
"nbformat": 4,

0 commit comments

Comments
 (0)