From 0dbe1c9225a38f3888d97a926d01cabca34477af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Thir=C3=A9?= Date: Tue, 23 Oct 2018 23:52:31 +0200 Subject: [PATCH] typos --- slides/intro-prog.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slides/intro-prog.tex b/slides/intro-prog.tex index 0d24834..d1afe47 100644 --- a/slides/intro-prog.tex +++ b/slides/intro-prog.tex @@ -72,7 +72,7 @@ \section{Notions} Si ton age est supérieur ou égal à 18 ans, alors tu es majeur ! \begin{lstlisting}[language=python] age = 23\\ - if age $>=$ 18:\\ + if age >= 18:\\ ... print("Tu es majeur") \end{lstlisting} @@ -94,7 +94,7 @@ \section{Notions} \medbreak \begin{lstlisting}[language=python] age = 14 - if age $>$ 11 $\&\&$ age $<$ 18: + if age > 11 && age < 18: ... print("Tu es adolescent ! ") \end{lstlisting} @@ -111,7 +111,7 @@ \section{Notions} \medbreak \begin{lstlisting}[language=python] age = 23 - if age $>=$ 18: + if age >= 18: ... print("Tu es majeur") else: ... print("Tu es mineur") @@ -126,7 +126,7 @@ \section{Notions} \begin{lstlisting}[language=python] for age in range(5,26): ... print(age) - ... if age $>$ 18: + ... if age > 18: ... ... print(" = majeur \n") ... else: ... ... print(" = mineur \n")