Skip to content

Commit a83051f

Browse files
authored
Update Aggregators.ipynb
Fix minor typos
1 parent 6b6f2be commit a83051f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Part 2/Section 08 - Iteration Tools/01 - Aggregators/Aggregators.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
"source": [
438438
"The `all` function is very similar to the `any` function, but it determines if **all** the elements of the iterable are truthy.\n",
439439
"\n",
440-
"Basically it is equivalent to doing an `and` between all the elements oif the iterable and casting the result to a Boolean."
440+
"Basically it is equivalent to doing an `and` between all the elements of the iterable and casting the result to a Boolean."
441441
]
442442
},
443443
{
@@ -768,7 +768,7 @@
768768
]
769769
},
770770
{
771-
"cell_type": "raw",
771+
"cell_type": "markdown",
772772
"metadata": {},
773773
"source": [
774774
"Still this is clunky - there has to be a better way!\n",
@@ -854,7 +854,7 @@
854854
"outputs": [],
855855
"source": [
856856
"def is_number(x):\n",
857-
" return is_instance(x, Number)"
857+
" return isinstance(x, Number)"
858858
]
859859
},
860860
{

0 commit comments

Comments
 (0)