Browse Source

more proofread

master
Dimitri Merejkowsky 6 years ago
parent
commit
15f30521f0
1 changed files with 2 additions and 11 deletions
  1. +2
    -11
      sessions/python-02.tex

+ 2
- 11
sessions/python-02.tex View File

@@ -18,15 +18,6 @@
\frame{\titlepage} \frame{\titlepage}


\begin{frame} \begin{frame}

Note: \\~\\


\end{frame}


\begin{frame}

\frametitle{Plan} \frametitle{Plan}


\begin{itemize} \begin{itemize}
@@ -593,7 +584,7 @@ Prenons le temps de la réflexion!
\begin{itemize} \begin{itemize}
\item \texttt{read\_words()} \item \texttt{read\_words()}
\item \texttt{choose\_word()} \item \texttt{choose\_word()}
\item \texttt{display\_indice()}
\item \texttt{display\_hint()}
\item \texttt{has\_won()} \item \texttt{has\_won()}
\end{itemize} \end{itemize}


@@ -644,7 +635,7 @@ def read_words():
file = open("pendu.txt") file = open("pendu.txt")
contents = file.read() contents = file.read()
file.close() file.close()
words = splitlines()
words = contents.splitlines()
return words return words
\end{lstlisting} \end{lstlisting}