File tree 2 files changed +42
-9
lines changed
2 files changed +42
-9
lines changed Original file line number Diff line number Diff line change 21
21
" from python_package import hello_world"
22
22
]
23
23
},
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
+ },
24
34
{
25
35
"cell_type" : " code" ,
26
36
"execution_count" : null ,
32
42
" ret"
33
43
]
34
44
},
45
+ {
46
+ "cell_type" : " markdown" ,
47
+ "id" : " b3012415" ,
48
+ "metadata" : {},
49
+ "source" : [
50
+ " Print the string."
51
+ ]
52
+ },
35
53
{
36
54
"cell_type" : " code" ,
37
55
"execution_count" : null ,
42
60
" print(ret)"
43
61
]
44
62
},
63
+ {
64
+ "cell_type" : " markdown" ,
65
+ "id" : " 076361ca" ,
66
+ "metadata" : {},
67
+ "source" : [
68
+ " Inspect the signature."
69
+ ]
70
+ },
45
71
{
46
72
"cell_type" : " code" ,
47
73
"execution_count" : null ,
53
79
]
54
80
},
55
81
{
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" : {},
63
85
"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."
65
87
]
66
88
}
67
89
],
Original file line number Diff line number Diff line change 7
7
# %%
8
8
from python_package import hello_world
9
9
10
+ # %% [markdown]
11
+ # ## Hello World
12
+ # mockup module contains a function which returns a string repeating the 'hello world' string
13
+ # n-times.
14
+
10
15
# %%
11
16
ret = hello_world (2 )
12
17
ret
13
18
19
+ # %% [markdown]
20
+ # Print the string.
21
+
14
22
# %%
15
23
print (ret )
16
24
25
+ # %% [markdown]
26
+ # Inspect the signature.
27
+
17
28
# %%
18
29
# hello_world?
19
30
20
- # %%
31
+ # %% [markdown]
21
32
# Simple example for a recipe showing what the package can do.
You can’t perform that action at this time.
0 commit comments