diff options
author | Madhusudan.C.S | 2009-10-07 00:43:37 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2009-10-07 00:43:37 +0530 |
commit | a932234a1f564549115bf697b1246c955463faf8 (patch) | |
tree | 13d9368906836c670bc627a4dbd0ecd3beae6147 /day1/Session-1.vrb | |
parent | 553da247c42c9d9598264498227dc61cad3fe8e7 (diff) | |
download | workshops-more-scipy-a932234a1f564549115bf697b1246c955463faf8.tar.gz workshops-more-scipy-a932234a1f564549115bf697b1246c955463faf8.tar.bz2 workshops-more-scipy-a932234a1f564549115bf697b1246c955463faf8.zip |
Changed the copyright and Institute for all the sessions.
Diffstat (limited to 'day1/Session-1.vrb')
-rw-r--r-- | day1/Session-1.vrb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/day1/Session-1.vrb b/day1/Session-1.vrb new file mode 100644 index 0000000..2fb75f0 --- /dev/null +++ b/day1/Session-1.vrb @@ -0,0 +1,14 @@ +\frametitle {Basic looping} + \begin{lstlisting} +# Fibonacci series: +# the sum of two elements +# defines the next +a, b = 0, 1 +while b < 10: + print b, + a, b = b, a + b + +\end{lstlisting} +\typ{1 1 2 3 5 8}\\ +\alert{Recall it is easy to write infinite loops with \kwrd{while}} + \inctime{20} |