Skip to content

Commit 72bbc10

Browse files
committed
How to call a function
1 parent 1a26989 commit 72bbc10

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Function.ipynb

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 2,
12+
"execution_count": 10,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -22,7 +22,7 @@
2222
},
2323
{
2424
"cell_type": "code",
25-
"execution_count": 3,
25+
"execution_count": 11,
2626
"metadata": {},
2727
"outputs": [
2828
{
@@ -31,7 +31,7 @@
3131
"<function __main__.my_func(param1='default')>"
3232
]
3333
},
34-
"execution_count": 3,
34+
"execution_count": 11,
3535
"metadata": {},
3636
"output_type": "execute_result"
3737
}
@@ -42,7 +42,7 @@
4242
},
4343
{
4444
"cell_type": "code",
45-
"execution_count": 4,
45+
"execution_count": 12,
4646
"metadata": {},
4747
"outputs": [
4848
{
@@ -74,6 +74,23 @@
7474
"my_func('new param')"
7575
]
7676
},
77+
{
78+
"cell_type": "code",
79+
"execution_count": 13,
80+
"metadata": {},
81+
"outputs": [
82+
{
83+
"name": "stdout",
84+
"output_type": "stream",
85+
"text": [
86+
"new param\n"
87+
]
88+
}
89+
],
90+
"source": [
91+
"my_func(param1='new param')"
92+
]
93+
},
7794
{
7895
"cell_type": "code",
7996
"execution_count": null,

0 commit comments

Comments
 (0)