Skip to content

Commit 0dbe1c9

Browse files
committed
typos
1 parent 55e54f8 commit 0dbe1c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

slides/intro-prog.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ \section{Notions}
7272
Si ton age est supérieur ou égal à 18 ans, alors tu es majeur !
7373
\begin{lstlisting}[language=python]
7474
age = 23\\
75-
if age $>=$ 18:\\
75+
if age >= 18:\\
7676
... print("Tu es majeur")
7777
\end{lstlisting}
7878

@@ -94,7 +94,7 @@ \section{Notions}
9494
\medbreak
9595
\begin{lstlisting}[language=python]
9696
age = 14
97-
if age $>$ 11 $\&\&$ age $<$ 18:
97+
if age > 11 && age < 18:
9898
... print("Tu es adolescent ! ")
9999
\end{lstlisting}
100100

@@ -111,7 +111,7 @@ \section{Notions}
111111
\medbreak
112112
\begin{lstlisting}[language=python]
113113
age = 23
114-
if age $>=$ 18:
114+
if age >= 18:
115115
... print("Tu es majeur")
116116
else:
117117
... print("Tu es mineur")
@@ -126,7 +126,7 @@ \section{Notions}
126126
\begin{lstlisting}[language=python]
127127
for age in range(5,26):
128128
... print(age)
129-
... if age $>$ 18:
129+
... if age > 18:
130130
... ... print(" = majeur \n")
131131
... else:
132132
... ... print(" = mineur \n")

0 commit comments

Comments
 (0)