Skip to content

Commit 212add2

Browse files
committed
reviewing module1-learning-unit5-en
1 parent 0833a66 commit 212add2

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

data/modules/module1/learning-units/learning-unit5/learning-unit5-en.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
{
9999
"type": "subtitle2",
100-
"text": "Concatenation (joining text) → operator <code class=\"language-python\">+</code>"
100+
"text": "Concatenation (Joining Text) → Operator <code class=\"language-python\">+</code>"
101101
},
102102
{
103103
"type": "code",
@@ -110,15 +110,15 @@
110110
},
111111
{
112112
"type": "subtitle2",
113-
"text": "Text repetitionoperator <code class=\"language-python\">*</code>"
113+
"text": "Text RepetitionOperator <code class=\"language-python\">*</code>"
114114
},
115115
{
116116
"type": "code",
117117
"text": "print(\"Hello \" * 3)"
118118
},
119119
{
120120
"type": "paragraph",
121-
"text": "Output"
121+
"text": "Output:"
122122
},
123123
{
124124
"type": "code",
@@ -174,14 +174,14 @@
174174
{
175175
"type": "list",
176176
"items": [
177-
"Numeric operations only work with numbers",
178-
"Text operations only work with text",
179-
"If you mix numbers and text → you must convert one to the type of the other"
177+
"Numeric operations only work with numbers.",
178+
"Text operations only work with text.",
179+
"If you mix numbers and text → you must convert one to the type of the other."
180180
]
181181
},
182182
{
183183
"type": "paragraph",
184-
"text": "Example"
184+
"text": "Example:"
185185
},
186186
{
187187
"type": "code",
@@ -277,9 +277,9 @@
277277
{
278278
"type": "list",
279279
"items": [
280-
"The sum of the three",
281-
"The average",
282-
"The result of <code class=\"language-python\">a * c</code>"
280+
"The sum of the three.",
281+
"The average.",
282+
"The result of <code class=\"language-python\">a * c</code>."
283283
]
284284
},
285285
{
@@ -297,7 +297,7 @@
297297
},
298298
{
299299
"type": "test-button",
300-
"text": "Try solution >>",
300+
"text": "Try Solution >>",
301301
"code": "a = 10\nb = 20\nc = 5\n\nsum_result = a + b + c\naverage = sum_result / 3\nproduct = a * c\n\nprint(\"Sum:\", sum_result)\nprint(\"Average:\", average)\nprint(\"Product:\", product)"
302302
}
303303
]
@@ -317,7 +317,7 @@
317317
{
318318
"type": "test-button",
319319
"text": "Practice >>",
320-
"code": "# Join the following parts to form a single sentence (Display it on screen):\n# part1 = \"Python \"\n# part2 = \"is \"\n# part3 = \"awesome\""
320+
"code": "# Join the following parts to form a single\n# sentence (Display it on screen):\n# part1 = \"Python \"\n# part2 = \"is \"\n# part3 = \"awesome\""
321321
},
322322
{
323323
"type": "collapsible",
@@ -329,7 +329,7 @@
329329
},
330330
{
331331
"type": "test-button",
332-
"text": "Try solution >>",
332+
"text": "Try Solution >>",
333333
"code": "part1 = \"Python \"\npart2 = \"is \"\npart3 = \"awesome\"\n\nsentence = part1 + part2 + part3\nprint(sentence)"
334334
}
335335
]
@@ -345,7 +345,7 @@
345345
{
346346
"type": "test-button",
347347
"text": "Practice >>",
348-
"code": "# Create a variable that contains a symbol (e.g., \"*\")\n# and repeat it 20 times (Display it on screen)"
348+
"code": "# Create a variable that contains a\n# symbol (e.g., \"*\") and repeat it 20 times\n# (Display it on screen)"
349349
},
350350
{
351351
"type": "collapsible",
@@ -357,7 +357,7 @@
357357
},
358358
{
359359
"type": "test-button",
360-
"text": "Try solution >>",
360+
"text": "Try Solution >>",
361361
"code": "symbol = \"*\"\nprint(symbol * 20)"
362362
}
363363
]
@@ -381,7 +381,7 @@
381381
{
382382
"type": "test-button",
383383
"text": "Practice >>",
384-
"code": "# You have a number stored as text:\n# number = \"40\"\n# Convert the number to an integer and add 7.\n# Finally, display the result on screen."
384+
"code": "# You have a number stored as text:\n# number = \"40\"\n# Convert the number to an integer and add 7.\n# Finally, display the result on screen"
385385
},
386386
{
387387
"type": "collapsible",
@@ -393,7 +393,7 @@
393393
},
394394
{
395395
"type": "test-button",
396-
"text": "Try solution >>",
396+
"text": "Try Solution >>",
397397
"code": "number = \"40\"\nnumber = int(number)\nprint(number + 7)"
398398
}
399399
]
@@ -437,14 +437,14 @@
437437
},
438438
{
439439
"type": "test-button",
440-
"text": "Try solution >>",
440+
"text": "Try Solution >>",
441441
"code": "name = \"Linus\"\nage = 55\n\nmessage = name + \" is \" + str(age) + \" years old\"\nprint(message)"
442442
}
443443
]
444444
},
445445
{
446446
"type": "subtitle1",
447-
"text": "Topic Conclusion"
447+
"text": "Unit Conclusions"
448448
},
449449
{
450450
"type": "paragraph",
@@ -453,10 +453,10 @@
453453
{
454454
"type": "list",
455455
"items": [
456-
"That Python can perform basic mathematical operations with <code class=\"language-python\">+</code>, <code class=\"language-python\">-</code>, <code class=\"language-python\">*</code>, <code class=\"language-python\">/</code>, <code class=\"language-python\">%</code>, <code class=\"language-python\">//</code>, and <code class=\"language-python\">**</code>",
457-
"That text strings can be joined using <code class=\"language-python\">+</code> and repeated using <code class=\"language-python\">*</code>",
458-
"That string operations follow their own rules (for example, adding texts = concatenation)",
459-
"That it is important to understand data types to avoid errors and write clearer code"
456+
"That Python can perform basic mathematical operations with <code class=\"language-python\">+</code>, <code class=\"language-python\">-</code>, <code class=\"language-python\">*</code>, <code class=\"language-python\">/</code>, <code class=\"language-python\">%</code>, <code class=\"language-python\">//</code>, and <code class=\"language-python\">**</code>.",
457+
"That text strings can be joined using <code class=\"language-python\">+</code> and repeated using <code class=\"language-python\">*</code>.",
458+
"That string operations follow their own rules (for example, adding texts = concatenation).",
459+
"That it is important to understand data types to avoid errors and write clearer code."
460460
]
461461
}
462462
]

0 commit comments

Comments
 (0)