diff options
author | Jovina | 2011-05-25 16:29:48 +0530 |
---|---|---|
committer | Jovina | 2011-05-25 16:29:48 +0530 |
commit | 58cdb783e3e48d859cbc776373da257bf7b22cbe (patch) | |
tree | 2add894bf98e308e2080221e5dec8b2bb82f16e9 /getting_started_with_lists/slides.tex | |
parent | 37051a2dc7b8c0cd47f2e91391612887c0f1adb9 (diff) | |
download | st-scripts-58cdb783e3e48d859cbc776373da257bf7b22cbe.tar.gz st-scripts-58cdb783e3e48d859cbc776373da257bf7b22cbe.tar.bz2 st-scripts-58cdb783e3e48d859cbc776373da257bf7b22cbe.zip |
Modified the scripts and slides in module 2.
Diffstat (limited to 'getting_started_with_lists/slides.tex')
-rw-r--r-- | getting_started_with_lists/slides.tex | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/getting_started_with_lists/slides.tex b/getting_started_with_lists/slides.tex index d1c81e1..01f8b10 100644 --- a/getting_started_with_lists/slides.tex +++ b/getting_started_with_lists/slides.tex @@ -1,4 +1,4 @@ -% Created 2011-05-11 Wed 15:13 +% Created 2011-05-24 Tue 09:52 \documentclass[presentation]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -19,7 +19,8 @@ \usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet} \usepackage{listings} \lstset{language=Python, basicstyle=\ttfamily\bfseries, -commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen}, +commentstyle=\color{red}\itshape, stringstyle=\color +{darkgreen}, showstringspaces=false, keywordstyle=\color{blue}\bfseries} \providecommand{\alert}[1]{\textbf{#1}} @@ -44,14 +45,18 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries} \begin{frame} \begin{center} -\textcolor{blue}{Getting started with Lists} +\vspace{12pt} +\textcolor{blue}{\huge Getting started with Lists} \end{center} +\vspace{18pt} \begin{center} -\includegraphics[scale=0.25]{../images/iitb-logo.png}\\ -Developed by FOSSEE Team, IIT-Bombay. \\ -Funded by National Mission on Education through ICT - -MHRD, Govt. of India +\vspace{10pt} +\includegraphics[scale=0.95]{../images/fossee-logo.png}\\ +\vspace{5pt} +\scriptsize Developed by FOSSEE Team, IIT-Bombay. \\ +\scriptsize Funded by National Mission on Education through ICT\\ +\scriptsize MHRD,Govt. of India\\ +\includegraphics[scale=0.30]{../images/iitb-logo.png}\\ \end{center} \end{frame} \begin{frame} @@ -68,7 +73,7 @@ MHRD, Govt. of India \end{itemize} \end{frame} \begin{frame} -\frametitle{Question 1} +\frametitle{Exercise 1} \label{sec-3} @@ -77,7 +82,7 @@ MHRD, Govt. of India \end{itemize} \end{frame} \begin{frame} -\frametitle{Question 2} +\frametitle{Exercise 2} \label{sec-4} @@ -100,7 +105,7 @@ listinlist[-5] \end{lstlisting} \end{frame} \begin{frame} -\frametitle{Question 3} +\frametitle{Exercise 3} \label{sec-6} @@ -144,7 +149,9 @@ listinlist.remove('and') \begin{enumerate} \item How do you create an empty list? +\vspace{8pt} \item Can you have a list inside a list ? +\vspace{8pt} \item How would you access the end of a list without finding its length? \end{enumerate} \end{frame} @@ -155,16 +162,16 @@ listinlist.remove('and') \begin{enumerate} \item empty=[] +\vspace{8pt} \item Yes\\ list\_in\_list=[2.3,[2,4,6],'string,'all datatypes can be there'] +\vspace{8pt} \item Using negative indices\\ nonempty = ['spam', `eggs', 100, 1.234]\\ nonempty[-1] \end{enumerate} \end{frame} \begin{frame} -\frametitle{Acknowledgement} -\label{sec-11} \begin{block}{} \begin{center} @@ -179,4 +186,4 @@ nonempty = ['spam', `eggs', 100, 1.234]\\ \end{block} \end{frame} -\end{document}
\ No newline at end of file +\end{document} |