author | Puneeth Chaganti <punchagan@fossee.in> |
Fri, 23 Oct 2009 12:10:27 +0530 | |
changeset 148 | 70fe69731761 |
parent 147 | 6874a667dc4e |
child 149 | fdfcfa44f90b |
day1/session3.tex | file | annotate | diff | comparison | revisions |
--- a/day1/session3.tex Fri Oct 23 11:57:16 2009 +0530 +++ b/day1/session3.tex Fri Oct 23 12:10:27 2009 +0530 @@ -158,8 +158,8 @@ In []: L = [] In []: T = [] In []: for line in open('pendulum.txt'): - .... len, t = line.split() - .... L.append(float(len)) + .... ln, t = line.split() + .... L.append(float(ln)) .... T.append(float(t)) \end{lstlisting} We now have two lists L and T