equal
deleted
inserted
replaced
345 \begin{frame}[fragile] |
345 \begin{frame}[fragile] |
346 \frametitle{Strings and \typ{split()}} |
346 \frametitle{Strings and \typ{split()}} |
347 \begin{lstlisting} |
347 \begin{lstlisting} |
348 In []: line = 'hello world' |
348 In []: line = 'hello world' |
349 |
349 |
350 In []: a.split() |
350 In []: line.split() |
351 Out[]: ['hello', 'world'] |
351 Out[]: ['hello', 'world'] |
352 \end{lstlisting} |
352 \end{lstlisting} |
353 This is what happens with \typ{line} |
353 This is what happens with \typ{line} |
354 \begin{lstlisting} |
354 \begin{lstlisting} |
355 In []: line = '1.2000e-01 7.4252e-01' |
355 In []: line = '1.2000e-01 7.4252e-01' |