Skip to content

Commit a9eb0fd

Browse files
authored
Merge pull request jmportilla#18 from Lowe-Man/fixed_typos
Fixed typos in the project files
2 parents 7721e5e + 6eef194 commit a9eb0fd

File tree

56 files changed

+138
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+138
-138
lines changed
File renamed without changes.

Advanced Lists.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
"metadata": {},
358358
"source": [
359359
"##remove\n",
360-
"The remove() method removes the first occurence of a value. For example:"
360+
"The remove() method removes the first occurrence of a value. For example:"
361361
]
362362
},
363363
{

Advanced Numbers.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"source": [
99
"#Advanced Numbers\n",
10-
"In this lecture we will learn about a few more reperesentations of numbers in Python."
10+
"In this lecture we will learn about a few more representations of numbers in Python."
1111
]
1212
},
1313
{

Advanced Sets.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
"cell_type": "markdown",
826826
"metadata": {},
827827
"source": [
828-
"Great! You should now have a compelte awareness of all the methods available to you for a set object type. This data strucutre is extremely useful and is underutilized by beginners, so try to keep it in mind!\n",
828+
"Great! You should now have a complete awareness of all the methods available to you for a set object type. This data structure is extremely useful and is underutilized by beginners, so try to keep it in mind!\n",
829829
"\n",
830830
"Good Job!"
831831
]

Advanced Strings.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"source": [
99
"#Advanced Strings\n",
10-
"String objects have a vareity of methods we can use to save time and add functionality. Lets explore some of them in this lecture:"
10+
"String objects have a variety of methods we can use to save time and add functionality. Lets explore some of them in this lecture:"
1111
]
1212
},
1313
{
@@ -346,7 +346,7 @@
346346
"cell_type": "markdown",
347347
"metadata": {},
348348
"source": [
349-
"istitle() will return True if S is a titlecased string and there is at least one character in S, i.e. uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return False otherwise."
349+
"istitle() will return True if S is a title cased string and there is at least one character in S, i.e. uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return False otherwise."
350350
]
351351
},
352352
{
@@ -437,7 +437,7 @@
437437
"## Built-in Reg. Expressions\n",
438438
"Strings have some built-in methods that can resemble regular expression operations.\n",
439439
"We can use split() to split the string at a certain element and return a list of the result.\n",
440-
"We can use partition to return a tuple that includes the seperator (the first occurence) and the first half and the end half."
440+
"We can use partition to return a tuple that includes the separator (the first occurrence) and the first half and the end half."
441441
]
442442
},
443443
{

All() and any() .ipynb renamed to All() and any().ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"all() and any() are built-in functions in Python that allow us to convienently check for boolean matching in an iterable. all() will return True if all elements in an iterable are True. It is the same as this function code:\n",
14+
"all() and any() are built-in functions in Python that allow us to conveniently check for boolean matching in an iterable. all() will return True if all elements in an iterable are True. It is the same as this function code:\n",
1515
"\n",
1616
" def all(iterable):\n",
1717
" for element in iterable:\n",
1818
" if not element:\n",
1919
" return False\n",
2020
" return True\n",
2121
" \n",
22-
"any() will return True if any of the elements in the iterable are True. It is equivalent to the following funciton code:\n",
22+
"any() will return True if any of the elements in the iterable are True. It is equivalent to the following function code:\n",
2323
"\n",
2424
" def any(iterable):\n",
2525
" for element in iterable:\n",

Chained Comparison Operators.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"cell_type": "markdown",
156156
"metadata": {},
157157
"source": [
158-
"Note how it was true, this is beacuse with the **or** operator, we only need one *or* the other two be true. Let's see one more example to drive this home:"
158+
"Note how it was true, this is because with the **or** operator, we only need one *or* the other two be true. Let's see one more example to drive this home:"
159159
]
160160
},
161161
{

Collections Module.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"source": [
77
"#Collections Module\n",
88
"\n",
9-
"The collections module is a built-in module that implements specialized container datatypes providing alternatives to Python’s general purpose built-in containers. We've already gone over the basics: dict, list, set, and tuple.\n",
9+
"The collections module is a built-in module that implements specialized container data types providing alternatives to Python’s general purpose built-in containers. We've already gone over the basics: dict, list, set, and tuple.\n",
1010
"\n",
1111
"Now we'll learn about the alternatives that the collections module provides.\n",
1212
"\n",
1313
"##Counter\n",
1414
"\n",
15-
"*Counter* is a *dict* subclass which helps count hashable objects. Inside of it elements are stored as dictionary keys and the counts of the objects are stored as the value.\n",
15+
"*Counter* is a *dict* subclass which helps count hash-able objects. Inside of it elements are stored as dictionary keys and the counts of the objects are stored as the value.\n",
1616
"\n",
1717
"Lets see how it can be used:"
1818
]
@@ -286,7 +286,7 @@
286286
"cell_type": "markdown",
287287
"metadata": {},
288288
"source": [
289-
"Can also initilaize with default values:"
289+
"Can also initialize with default values:"
290290
]
291291
},
292292
{

Complex.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"\n",
1111
"If the first parameter is a string, it will be interpreted as a complex number and the function must be called without a second parameter. The second parameter can never be a string. Each argument may be any numeric type (including complex). If imag is omitted, it defaults to zero and the constructor serves as a numeric conversion like int and float. If both arguments are omitted, returns 0j.\n",
1212
"\n",
13-
"If you are doing math or engineering that requires complex numbers (such as dynamics,control systems, or impedence of a circuit) this is a useful tool to have in Python.\n",
13+
"If you are doing math or engineering that requires complex numbers (such as dynamics,control systems, or impedance of a circuit) this is a useful tool to have in Python.\n",
1414
"\n",
1515
"Lets see some examples:"
1616
]

0 commit comments

Comments
 (0)