File tree 4 files changed +17
-13
lines changed
4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 19
19
"metadata" : {},
20
20
"source" : [
21
21
" ---\n " ,
22
- " ## Strings"
22
+ " ## 1. Writing text: Strings"
23
23
]
24
24
},
25
25
{
52
52
"metadata" : {},
53
53
"source" : [
54
54
" ---\n " ,
55
- " ## Asking questions: input()"
55
+ " ## 2. Asking questions: input()"
56
56
]
57
57
},
58
58
{
85
85
"metadata" : {},
86
86
"source" : [
87
87
" ---\n " ,
88
- " ## ASCII art: print()"
88
+ " ## 3. ASCII art: print()"
89
89
]
90
90
},
91
91
{
92
92
"cell_type" : " markdown" ,
93
93
"metadata" : {},
94
94
"source" : [
95
95
" \n " ,
96
- " - Look at the following example and run the cells :"
96
+ " - Look at the following example and run the cell :"
97
97
]
98
98
},
99
99
{
125
125
"name" : " python" ,
126
126
"nbconvert_exporter" : " python" ,
127
127
"pygments_lexer" : " ipython3" ,
128
- "version" : " 3.9.13 "
128
+ "version" : " 3.9.6 "
129
129
},
130
130
"widgets" : {
131
131
"application/vnd.jupyter.widget-state+json" : {
Original file line number Diff line number Diff line change 84
84
{
85
85
"cell_type" : " code" ,
86
86
"execution_count" : null ,
87
- "metadata" : {},
87
+ "metadata" : {
88
+ "tags" : []
89
+ },
88
90
"outputs" : [],
89
91
"source" : [
90
92
" favorite_food = input (\" What is your favorite food?\" )"
93
95
{
94
96
"cell_type" : " code" ,
95
97
"execution_count" : null ,
96
- "metadata" : {},
98
+ "metadata" : {
99
+ "tags" : []
100
+ },
97
101
"outputs" : [],
98
102
"source" : [
99
103
" print (\" Hi! My name is \" + name)\n " ,
118
122
"name" : " python" ,
119
123
"nbconvert_exporter" : " python" ,
120
124
"pygments_lexer" : " ipython3" ,
121
- "version" : " 3.9.13 "
125
+ "version" : " 3.9.6 "
122
126
},
123
127
"widgets" : {
124
128
"application/vnd.jupyter.widget-state+json" : {
Original file line number Diff line number Diff line change 23
23
"cell_type" : " markdown" ,
24
24
"metadata" : {},
25
25
"source" : [
26
- " - You are the owner of a bookstore. n the programming shelf there are:"
26
+ " - You are the owner of a bookstore. In the programming shelf there are:"
27
27
]
28
28
},
29
29
{
89
89
"name" : " python" ,
90
90
"nbconvert_exporter" : " python" ,
91
91
"pygments_lexer" : " ipython3" ,
92
- "version" : " 3.9.13 "
92
+ "version" : " 3.9.6 "
93
93
},
94
94
"widgets" : {
95
95
"application/vnd.jupyter.widget-state+json" : {
Original file line number Diff line number Diff line change 309
309
" elif operator == \" *\" :\n " ,
310
310
" result = first_number * second_number\n " ,
311
311
" elif operator == \" **\" :\n " ,
312
- " result = first_number / second_number\n " ,
313
- " elif operator == \" /\" :\n " ,
314
312
" result = first_number ** second_number\n " ,
313
+ " elif operator == \" /\" :\n " ,
314
+ " result = first_number / second_number\n " ,
315
315
" elif operator == \" //\" :\n " ,
316
316
" result = first_number // second_number \n " ,
317
317
" elif operator == \" %\" : \n " ,
400
400
"name" : " python" ,
401
401
"nbconvert_exporter" : " python" ,
402
402
"pygments_lexer" : " ipython3" ,
403
- "version" : " 3.11.4 "
403
+ "version" : " 3.9.6 "
404
404
},
405
405
"widgets" : {
406
406
"application/vnd.jupyter.widget-state+json" : {
You can’t perform that action at this time.
0 commit comments