diff options
Diffstat (limited to 'day1/session3.tex')
-rw-r--r-- | day1/session3.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/day1/session3.tex b/day1/session3.tex index 628c6a6..bca7e20 100644 --- a/day1/session3.tex +++ b/day1/session3.tex @@ -1,8 +1,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Tutorial slides on Python. +%Tutorial slides on Python. % -% Author: Prabhu Ramachandran <prabhu at aero.iitb.ac.in> -% Copyright (c) 2005-2009, Prabhu Ramachandran +% Author: FOSSEE +% Copyright (c) 2009, FOSSEE, IIT Bombay %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[14pt,compress]{beamer} @@ -158,8 +158,8 @@ Machinery Required - 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 |