Skip to content

Commit e7a12da

Browse files
authored
Fix code in "execution_count": 56
There is an error in the code: After: print('add(10)'), timer(add, 10) print('add(20, 30)'), timer(add, 20, 30) print('add("a", "b")', timer(add, "a", "b") Before: print('add(10)', timer(add, 10)) print('add(20, 30)', timer(add, 20, 30)) print('add("a", "b"', timer(add, "a", "b"))
1 parent d7c6e41 commit e7a12da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python_expert_notebook.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,9 +883,9 @@
883883
}
884884
],
885885
"source": [
886-
"print('add(10)'), timer(add, 10)\n",
887-
"print('add(20, 30)'), timer(add, 20, 30)\n",
888-
"print('add(\"a\", \"b\")', timer(add, \"a\", \"b\")"
886+
"print('add(10)', timer(add, 10))\n",
887+
"print('add(20, 30)', timer(add, 20, 30))\n",
888+
"print('add(\"a\", \"b\"', timer(add, \"a\", \"b\"))"
889889
]
890890
},
891891
{

0 commit comments

Comments
 (0)