Skip to content

Commit a8235ae

Browse files
mmckyclaude
andauthored
Apply the editor's ml#22 answers to the reviewed pages: plurals and -ഉം commas (#24)
Adisankar's answers on #22 (2026-09-19): the plural of an English noun is the English plural plus the Malayalam suffix (Q2.2), and the comma between -ഉം items is always there, single words included (Q2.5). Six places on the already-reviewed pages go the other way; this brings them into line. matplotlib: function call-കളിൽ → function calls-ൽ; object-ുകൾ → objects (the vowel sign after a hyphen also rendered as a dotted circle in some fonts); simple-ഉം, convenient-ഉം. python_by_example: tasks-കൾ → tasks; clean-ഉം, consistent-ഉം; list-ഉം, `append`-ഉം. Left alone on purpose: functions line 279, logic-ുകളെ — "logics" is not natural English, so the form is the editor's to choose. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 7aa726c commit a8235ae

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎lectures/matplotlib.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ plt.plot(x, y, 'b-', linewidth=2)
8484
plt.show()
8585
```
8686

87-
ഇത് simple-ഉം convenient-ഉം ആണ്. പക്ഷേ കുറച്ചൊക്കെ പരിമിതികളും, Python-ന്റെ സാധാരണ ശൈലിയോട് പൊരുത്തപ്പെടാത്ത സ്വഭാവവും ഇതിനുണ്ട്.
87+
ഇത് simple-ഉം, convenient-ഉം ആണ്. പക്ഷേ കുറച്ചൊക്കെ പരിമിതികളും, Python-ന്റെ സാധാരണ ശൈലിയോട് പൊരുത്തപ്പെടാത്ത സ്വഭാവവും ഇതിനുണ്ട്.
8888

89-
For example, ഇവിടുത്തെ function call-കളിൽ, programmer-നെ അറിയിക്കാതെ തന്നെ നിരവധി object-ുകൾ create ചെയ്യപ്പെടുകയും, അവ pass ചെയ്യപ്പെടുകയും ചെയ്യുന്നു.
89+
For example, ഇവിടുത്തെ function calls-ൽ, programmer-നെ അറിയിക്കാതെ തന്നെ നിരവധി objects create ചെയ്യപ്പെടുകയും, അവ pass ചെയ്യപ്പെടുകയും ചെയ്യുന്നു.
9090

9191
കാര്യങ്ങൾ കൂടുതൽ വ്യക്തമായി പ്രകടിപ്പിക്കുന്ന ഒരു programming style ആണ് Python programmers പൊതുവെ prefer ചെയ്യുന്നത്. (ഒരു code block-ൽ, `import this` എന്ന് type ചെയ്ത്, run ചെയ്യുക. തുടർന്ന് ലഭിക്കുന്ന output-ന്റെ രണ്ടാമത്തെ line നോക്കുക.)
9292

‎lectures/python_by_example.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ plt.show()
9292

9393
ഈ program-ന്റെ ആദ്യത്തെ രണ്ട് lines, external code libraries-ൽ നിന്നും functionality import ചെയ്യുന്നു.
9494

95-
ആദ്യത്തെ line {doc}`NumPy <numpy>` import ചെയ്യുന്നു — NumPy, താഴെ കൊടുത്തിരിക്കുന്ന പോലത്തെ tasks-കൾ ചെയ്യാനുള്ള ഒരു Python package ആണ്:
95+
ആദ്യത്തെ line {doc}`NumPy <numpy>` import ചെയ്യുന്നു — NumPy, താഴെ കൊടുത്തിരിക്കുന്ന പോലത്തെ tasks ചെയ്യാനുള്ള ഒരു Python package ആണ്:
9696

9797
* working with arrays (vectors and matrices)
9898
* common mathematical functions like `cos` and `sqrt`
@@ -355,7 +355,7 @@ In fact, Python-ൽ, *എല്ലാ* code blocks-ഉം (അതായത്, l
355355

356356
ഒരിക്കൽ ഇത് ശീലമായാൽ, ഇത് ഒരു നല്ല കാര്യമാണ്.
357357

358-
* clean-ഉം consistent-ഉം ആയ indentation വഴി readability improve ചെയ്യുന്നു
358+
* clean-ഉം, consistent-ഉം ആയ indentation വഴി readability improve ചെയ്യുന്നു
359359
* മറ്റ് languages-ൽ ഉപയോഗിക്കുന്ന brackets അല്ലെങ്കിൽ end statements പോലുള്ള clutter remove ചെയ്യുന്നു
360360

361361
On the other hand, ഇത് correct ആയി ഉപയോഗിക്കാൻ ഒരല്പം care ആവശ്യമാണ്. അതിനാൽ താഴെപ്പറയുന്ന കാര്യങ്ങൾ ഓർത്തിരിക്കുക:
@@ -438,7 +438,7 @@ plt.show()
438438

439439
ഈ numbers `for` loop വഴി fill ചെയ്യപ്പെടുന്നു.
440440

441-
തുടക്കത്തിൽ തന്നെ memory allocate ചെയ്യുന്നത്, Python list-ഉം `append`-ഉം ഉപയോഗിക്കുന്നതിനേക്കാൾ efficient ആണ് — കാരണം, രണ്ടാമത്തെ രീതിയിൽ (list, append), ഓരോ തവണയും storage space നൽകണമെന്ന് operating system-നോട് ആവശ്യപ്പെടേണ്ടി വരും.
441+
തുടക്കത്തിൽ തന്നെ memory allocate ചെയ്യുന്നത്, Python list-ഉം, `append`-ഉം ഉപയോഗിക്കുന്നതിനേക്കാൾ efficient ആണ് — കാരണം, രണ്ടാമത്തെ രീതിയിൽ (list, append), ഓരോ തവണയും storage space നൽകണമെന്ന് operating system-നോട് ആവശ്യപ്പെടേണ്ടി വരും.
442442

443443
Plot-ൽ നമ്മൾ ഒരു legend add ചെയ്തത് ശ്രദ്ധിക്കുക — exercises-ൽ നിങ്ങളോട് ഇത് ഉപയോഗിക്കാൻ ആവശ്യപ്പെടും.
444444

0 commit comments

Comments
 (0)