1
\end{verbatim}
+The \function{dict()} contructor builds dictionaries directly from
+lists of key-value pairs stored as tuples. When the pairs form a
+pattern, list comprehensions can compactly specify the key-value list.
+
+\begin{verbatim}
+>>> dict([('sape', 4139), ('guido', 4127), ('jack', 4098)])
+{'sape': 4139, 'jack': 4098, 'guido': 4127}
+>>> dict([(x, x**2) for x in vec]) # use a list comprehension
+{2: 4, 4: 16, 6: 36}
+\end{verbatim}
+
+
\section{More on Conditions \label{conditions}}
The conditions used in \code{while} and \code{if} statements above can