File tree Expand file tree Collapse file tree 2 files changed +42
-9
lines changed Expand file tree Collapse file tree 2 files changed +42
-9
lines changed Original file line number Diff line number Diff line change 2121 " from python_package import hello_world"
2222 ]
2323 },
24+ {
25+ "cell_type" : " markdown" ,
26+ "id" : " 78609dba" ,
27+ "metadata" : {},
28+ "source" : [
29+ " ## Hello World\n " ,
30+ " mockup module contains a function which returns a string repeating the 'hello world' string\n " ,
31+ " n-times."
32+ ]
33+ },
2434 {
2535 "cell_type" : " code" ,
2636 "execution_count" : null ,
3242 " ret"
3343 ]
3444 },
45+ {
46+ "cell_type" : " markdown" ,
47+ "id" : " b3012415" ,
48+ "metadata" : {},
49+ "source" : [
50+ " Print the string."
51+ ]
52+ },
3553 {
3654 "cell_type" : " code" ,
3755 "execution_count" : null ,
4260 " print(ret)"
4361 ]
4462 },
63+ {
64+ "cell_type" : " markdown" ,
65+ "id" : " 076361ca" ,
66+ "metadata" : {},
67+ "source" : [
68+ " Inspect the signature."
69+ ]
70+ },
4571 {
4672 "cell_type" : " code" ,
4773 "execution_count" : null ,
5379 ]
5480 },
5581 {
56- "cell_type" : " code" ,
57- "execution_count" : null ,
58- "id" : " 4ae5341c" ,
59- "metadata" : {
60- "title" : " markdown"
61- },
62- "outputs" : [],
82+ "cell_type" : " markdown" ,
83+ "id" : " 916c31f2" ,
84+ "metadata" : {},
6385 "source" : [
64- " # Simple example for a recipe showing what the package can do."
86+ " Simple example for a recipe showing what the package can do."
6587 ]
6688 }
6789 ],
Original file line number Diff line number Diff line change 77# %%
88from python_package import hello_world
99
10+ # %% [markdown]
11+ # ## Hello World
12+ # mockup module contains a function which returns a string repeating the 'hello world' string
13+ # n-times.
14+
1015# %%
1116ret = hello_world (2 )
1217ret
1318
19+ # %% [markdown]
20+ # Print the string.
21+
1422# %%
1523print (ret )
1624
25+ # %% [markdown]
26+ # Inspect the signature.
27+
1728# %%
1829# hello_world?
1930
20- # %%
31+ # %% [markdown]
2132# Simple example for a recipe showing what the package can do.
You can’t perform that action at this time.
0 commit comments