File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ \section{Notions}
72
72
Si ton age est supérieur ou égal à 18 ans, alors tu es majeur !
73
73
\ begin{lstlisting} [language=python]
74
74
age = 23\\
75
- if age $>=$ 18:\\
75
+ if age >= 18:\\
76
76
... print("Tu es majeur")
77
77
\end {lstlisting }
78
78
@@ -94,7 +94,7 @@ \section{Notions}
94
94
\medbreak
95
95
\ begin{lstlisting} [language=python]
96
96
age = 14
97
- if age $>$ 11 $\&\&$ age $<$ 18:
97
+ if age > 11 && age < 18:
98
98
... print("Tu es adolescent ! ")
99
99
\end {lstlisting }
100
100
@@ -111,7 +111,7 @@ \section{Notions}
111
111
\medbreak
112
112
\ begin{lstlisting} [language=python]
113
113
age = 23
114
- if age $>=$ 18:
114
+ if age >= 18:
115
115
... print("Tu es majeur")
116
116
else:
117
117
... print("Tu es mineur")
@@ -126,7 +126,7 @@ \section{Notions}
126
126
\ begin{lstlisting} [language=python]
127
127
for age in range(5,26):
128
128
... print(age)
129
- ... if age $>$ 18:
129
+ ... if age > 18:
130
130
... ... print(" = majeur \n")
131
131
... else:
132
132
... ... print(" = mineur \n")
You can’t perform that action at this time.
0 commit comments