File tree Expand file tree Collapse file tree 2 files changed +72
-7
lines changed Expand file tree Collapse file tree 2 files changed +72
-7
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " markdown" ,
5+ "metadata" : {},
6+ "source" : [
7+ " ### Function"
8+ ]
9+ },
10+ {
11+ "cell_type" : " code" ,
12+ "execution_count" : 2 ,
13+ "metadata" : {},
14+ "outputs" : [],
15+ "source" : [
16+ " def my_func(param1='default'):\n " ,
17+ " \"\"\"\n " ,
18+ " Docstring goes here.\n " ,
19+ " \"\"\"\n " ,
20+ " print(param1)"
21+ ]
22+ },
23+ {
24+ "cell_type" : " code" ,
25+ "execution_count" : 3 ,
26+ "metadata" : {},
27+ "outputs" : [
28+ {
29+ "data" : {
30+ "text/plain" : [
31+ " <function __main__.my_func(param1='default')>"
32+ ]
33+ },
34+ "execution_count" : 3 ,
35+ "metadata" : {},
36+ "output_type" : " execute_result"
37+ }
38+ ],
39+ "source" : [
40+ " my_func"
41+ ]
42+ },
43+ {
44+ "cell_type" : " code" ,
45+ "execution_count" : null ,
46+ "metadata" : {},
47+ "outputs" : [],
48+ "source" : []
49+ }
50+ ],
51+ "metadata" : {
52+ "kernelspec" : {
53+ "display_name" : " Python 3" ,
54+ "language" : " python" ,
55+ "name" : " python3"
56+ },
57+ "language_info" : {
58+ "codemirror_mode" : {
59+ "name" : " ipython" ,
60+ "version" : 3
61+ },
62+ "file_extension" : " .py" ,
63+ "mimetype" : " text/x-python" ,
64+ "name" : " python" ,
65+ "nbconvert_exporter" : " python" ,
66+ "pygments_lexer" : " ipython3" ,
67+ "version" : " 3.7.4"
68+ }
69+ },
70+ "nbformat" : 4 ,
71+ "nbformat_minor" : 4
72+ }
Original file line number Diff line number Diff line change 155155 " \n " ,
156156 " print(\"\\ nList is - \" , a) \n "
157157 ]
158- },
159- {
160- "cell_type" : " code" ,
161- "execution_count" : null ,
162- "metadata" : {},
163- "outputs" : [],
164- "source" : []
165158 }
166159 ],
167160 "metadata" : {
You can’t perform that action at this time.
0 commit comments