You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2d28d0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: lectures/functions.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ kernelspec:
25
25
26
26
## Overview
27
27
28
-
Functions are an extremely useful construct provided by almost all programming.
28
+
Functions are an extremely useful construct provided by almost all programming languages.
29
29
30
30
We have already met several functions, such as
31
31
@@ -35,7 +35,7 @@ We have already met several functions, such as
35
35
In this lecture we'll
36
36
37
37
1. treat functions systematically and cover syntax and use-cases, and
38
-
2. learn to do is build our own user-defined functions.
38
+
2. learn how to build our own user-defined functions.
39
39
40
40
We will use the following imports.
41
41
@@ -360,7 +360,7 @@ Notes
360
360
361
361
Now, there are several ways that we can simplify the code above.
362
362
363
-
For example, we can get rid of the conditionals all together by just passing the desired generator type as a function, method, or other [callable](https://typing.python.org/en/latest/spec/callables.html) object.
363
+
For example, we can get rid of the conditionals altogether by just passing the desired generator type as a function, method, or other [callable](https://typing.python.org/en/latest/spec/callables.html) object.
364
364
365
365
To understand this, consider the following version.
366
366
@@ -417,7 +417,7 @@ your programming career.
417
417
418
418
Basically, a recursive function is a function that calls itself.
419
419
420
-
For example, consider the problem of computing $x_t$ for some t when
420
+
For example, consider the problem of computing $x_t$ for some $t$ when
0 commit comments