summaryrefslogtreecommitdiff
path: root/basic_python/practice_basics.tex
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-02-07 23:19:47 +0530
committerPrabhu Ramachandran2017-02-07 23:19:47 +0530
commit85bdab6f2ffb381dcf654c395732ba0038816c5a (patch)
tree66e7ac3477b3ca5c8b0e7d7452f0e5d2e7d005f8 /basic_python/practice_basics.tex
parent5bcd987d702e5e8653538713c0f48889853eef7a (diff)
downloadpython-workshops-85bdab6f2ffb381dcf654c395732ba0038816c5a.tar.gz
python-workshops-85bdab6f2ffb381dcf654c395732ba0038816c5a.tar.bz2
python-workshops-85bdab6f2ffb381dcf654c395732ba0038816c5a.zip
Fix some errors in the slides.
Diffstat (limited to 'basic_python/practice_basics.tex')
-rw-r--r--basic_python/practice_basics.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic_python/practice_basics.tex b/basic_python/practice_basics.tex
index 898a1ad..37e535c 100644
--- a/basic_python/practice_basics.tex
+++ b/basic_python/practice_basics.tex
@@ -56,7 +56,7 @@ from __future__ import print_function
\frametitle{Possible solution}
\begin{lstlisting}
name = input() # Or raw_input()
- print("Hello", name)
+ print("hello", name)
\end{lstlisting}
\end{frame}
@@ -75,7 +75,7 @@ from __future__ import print_function
\frametitle{Possible solution}
\begin{lstlisting}
name = input("Please enter your name: ")
-print("Hello", name)
+print("hello", name)
\end{lstlisting}
\end{frame}
@@ -191,7 +191,7 @@ print("Hello", name)
\frametitle{Possible solution}
\begin{lstlisting}
name = input()
- print("Hello", name.upper())
+ print(name.upper())
\end{lstlisting}
\end{frame}