Skip to content
Snippets Groups Projects
Commit e3c5491a authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Edit to L21 based on suggestion from Emil Sekerinski

parent ea0740a7
No related merge requests found
......@@ -224,7 +224,9 @@
\item \structure<1>{What does this notation mean?}
\item \uncover<2->{\structure<2>{$1+1+1 = 3$}}
\item \uncover<3->{\structure<3>{How would we say this in Python?}}
\item \uncover<4->{\structure<4>{\texttt{reduce(lambda x, y: x+y, [1 for x in range(6) if x\%2==0], 0)}}}
\item \uncover<4->{\structure<4>{\texttt{sum(x \% 2 == 0 for x in range(6))}, or}}
\item \uncover<5->{\structure<5>{\texttt{reduce(lambda x, y: x+y, [1 for x in
range(6) if x\%2==0], 0)}}}
\ei
\end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment