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
* The Python interpreter has a number of functions and types built into it that are always available.
4
-
* There is no need to import modules extra in order to use them.
4
+
* There is no need to import any extra modules in order to use them.
5
5
* A few functions that we will be covering here are-
6
6
* Map
7
7
* Filter
@@ -10,7 +10,7 @@
10
10
* Reduce
11
11
12
12
## Map
13
-
* It iterates through all the elements of a iterable and applies some specific funtion to each element of that iterable.
13
+
* It iterates through all the elements of an iterable and applies some specific function to each element of that iterable.
14
14
* With multiple iterables, the iterator stops when the shortest iterable is exhausted
15
15
16
16
### syntax
@@ -65,7 +65,7 @@ Output
65
65
## Sort/Sorted
66
66
* Python lists have a built-in sort() method that modifies the list in-place and a sorted() built-in function that builds a new sorted list from an iterable
67
67
* There are many ways to use them to sort data and there doesn't appear to be a single, central place in the various manuals describing them
68
-
* The key difference between both is that sorted returns a new list whereas sort chsnges the original list itself.
68
+
* The key difference between both is that sorted returns a new list whereas sort changes the original list itself.
69
69
70
70
### syntax
71
71
```python
@@ -78,7 +78,7 @@ sorted(list,key=<insert the key>)#sort in ascending order of the key set
0 commit comments