File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Part 2/Section 08 - Iteration Tools/01 - Aggregators Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 437
437
"source" : [
438
438
" The `all` function is very similar to the `any` function, but it determines if **all** the elements of the iterable are truthy.\n " ,
439
439
" \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."
441
441
]
442
442
},
443
443
{
768
768
]
769
769
},
770
770
{
771
- "cell_type" : " raw " ,
771
+ "cell_type" : " markdown " ,
772
772
"metadata" : {},
773
773
"source" : [
774
774
" Still this is clunky - there has to be a better way!\n " ,
854
854
"outputs" : [],
855
855
"source" : [
856
856
" def is_number(x):\n " ,
857
- " return is_instance (x, Number)"
857
+ " return isinstance (x, Number)"
858
858
]
859
859
},
860
860
{
You can’t perform that action at this time.
0 commit comments