equal
deleted
inserted
replaced
156 \end{itemize} |
156 \end{itemize} |
157 \begin{lstlisting} |
157 \begin{lstlisting} |
158 In []: L = [] |
158 In []: L = [] |
159 In []: T = [] |
159 In []: T = [] |
160 In []: for line in open('pendulum.txt'): |
160 In []: for line in open('pendulum.txt'): |
161 .... len, t = line.split() |
161 .... ln, t = line.split() |
162 .... L.append(float(len)) |
162 .... L.append(float(ln)) |
163 .... T.append(float(t)) |
163 .... T.append(float(t)) |
164 \end{lstlisting} |
164 \end{lstlisting} |
165 We now have two lists L and T |
165 We now have two lists L and T |
166 \end{frame} |
166 \end{frame} |
167 |
167 |