From 309565f772c6a69480e28ce7246e611564964696 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Wed, 22 Feb 2017 14:21:40 +0530 Subject: Fix issues in slides. --- basic_python/practice_files_exc.tex | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'basic_python/practice_files_exc.tex') diff --git a/basic_python/practice_files_exc.tex b/basic_python/practice_files_exc.tex index 4a7cdfc..1eda602 100644 --- a/basic_python/practice_files_exc.tex +++ b/basic_python/practice_files_exc.tex @@ -176,7 +176,7 @@ def largest(f): \begin{frame}[plain, fragile] \frametitle{Exercise: raising exceptions} \begin{enumerate} - \item Write a function \typ{func} which takes a single integer argument + \item Write a function \typ{func} which takes a single integer argument \typ{x} \item If \typ{x} is not a positive integer raise a \typ{ValueError} \item If \typ{x} is not an integer type raise a \typ{TypeError} \end{enumerate} @@ -195,6 +195,17 @@ def largest(f): \end{lstlisting} \end{frame} +\begin{frame} + \frametitle{What next?} + \begin{itemize} + \item Only covered the very basics + \item More advanced topics remain + \item Read the official Python tutorial: + \url{docs.python.org/tutorial/} + \end{itemize} +\end{frame} + + \begin{frame} \centering \Huge -- cgit