equal
deleted
inserted
replaced
315 \begin{lstlisting} |
315 \begin{lstlisting} |
316 from pylab import pie |
316 from pylab import pie |
317 from scipy import mean, median, std |
317 from scipy import mean, median, std |
318 from scipy import stats |
318 from scipy import stats |
319 |
319 |
320 scores = [[]] * 5 |
320 scores = [[], [], [], [], []] |
321 ninety_percents = [{}] * 5 |
321 ninety_percents = [{}, {}, {}, {}, {}] |
322 \end{lstlisting} |
322 \end{lstlisting} |
323 \end{frame} |
|
324 |
|
325 \begin{frame}[fragile] |
|
326 \frametitle{Building data for all subjects \ldots} |
|
327 \begin{lstlisting} |
|
328 from pylab import pie |
|
329 from scipy import mean, median, std |
|
330 from scipy import stats |
|
331 \end{lstlisting} |
|
332 |
|
333 \begin{block}{Repeating list items} |
|
334 \begin{lstlisting} |
|
335 scores = [[]] * 5 |
|
336 ninety_percents = [{}] * 5 |
|
337 \end{lstlisting} |
|
338 \end{block} |
|
339 \end{frame} |
323 \end{frame} |
340 |
324 |
341 \begin{frame}[fragile] |
325 \begin{frame}[fragile] |
342 \frametitle{Building data for all subjects \ldots} |
326 \frametitle{Building data for all subjects \ldots} |
343 \begin{lstlisting} |
327 \begin{lstlisting} |