Skip to content

Commit 56f97f4

Browse files
committed
Update documentation
1 parent e8b19d9 commit 56f97f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

_sources/chap04.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@
558558
"Adding a parameter to a function is called **generalization** because it makes the function more general: with the previous version, the square is always the same size; with this version it can be any size.\n",
559559
"\n",
560560
"If we add another parameter, we can make it even more general.\n",
561-
"The following function draws regular polygons with a given of sides."
561+
"The following function draws regular polygons with a given number of sides."
562562
]
563563
},
564564
{

chap04.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ <h2><span class="section-number">4.2. </span>Making a square<a class="headerlink
674674
</div>
675675
<p>Adding a parameter to a function is called <strong>generalization</strong> because it makes the function more general: with the previous version, the square is always the same size; with this version it can be any size.</p>
676676
<p>If we add another parameter, we can make it even more general.
677-
The following function draws regular polygons with a given of sides.</p>
677+
The following function draws regular polygons with a given number of sides.</p>
678678
<div class="cell docutils container">
679679
<div class="cell_input docutils container">
680680
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">polygon</span><span class="p">(</span><span class="n">n</span><span class="p">,</span> <span class="n">length</span><span class="p">):</span>

0 commit comments

Comments
 (0)