File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1755,9 +1755,10 @@ \subsection{Functional Programming Tools \label{functional}}
17551755
17561756\subsection {List Comprehensions }
17571757
1758- List comprehensions provide a concise way to create lists without resorting
1759- to use of the \func {map()} or \func {filter()} functions. The resulting
1760- construct tends often to be clearer than use of those functions.
1758+ List comprehensions provide a concise way to create lists without
1759+ resorting to use of the \function {map()} or \function {filter()}
1760+ functions. The resulting construct tends often to be clearer than use
1761+ of those functions.
17611762
17621763\begin {verbatim }
17631764>>> spcs = [" Apple", " Banana ", "Coco nut "]
@@ -1777,7 +1778,7 @@ \subsection{List Comprehensions}
17771778\section {The \keyword {del} statement \label {del } }
17781779
17791780There is a way to remove an item from a list given its index instead
1780- of its value: the \code {del} statement. This can also be used to
1781+ of its value: the \keyword {del} statement. This can also be used to
17811782remove slices from a list (which we did earlier by assignment of an
17821783empty list to the slice). For example:
17831784
You can’t perform that action at this time.
0 commit comments