Skip to content

Commit 8cb3492

Browse files
committed
attempt to fix build
1 parent 5ec59d9 commit 8cb3492

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

text/main/controlFlow/conditionals/conditionals.tex

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
if booleanExpression:
1313
conditional statement 1
1414
conditional statement 2
15-
...
15+
# ...
1616

1717
normal statement 1
1818
normal statement 2
19-
...
19+
# ...
2020
\end{pythonSyntax}
2121
%
2222
The first line begins with \pythonilIdx{if}~statement, followed by a Boolean expression, followed by a colon~(\pythonilIdx{:}).
@@ -76,15 +76,15 @@
7676
if booleanExpression:
7777
conditional statement 1
7878
conditional statement 2
79-
...
79+
# ...
8080
else:
8181
alternative statement 1
8282
alternative statement 2
83-
...
83+
# ...
8484

8585
normal statement 1
8686
normal statement 2
87-
...
87+
# ...
8888
\end{pythonSyntax}
8989
%
9090
The statement begins like a normal \pythonilIdx{if}~statement:
@@ -148,23 +148,23 @@
148148
if booleanExpression 1:
149149
conditional 1 statement 1
150150
conditional 2 statement 2
151-
...
151+
# ...
152152
elif booleanExpression 2: # such block can be placed arbitrarily often
153153
conditional 2 statement 1
154154
conditional 2 statement 2
155-
...
155+
# ...
156156
elif booleanExpression 3: # this is of course optional
157157
conditional 3 statement 1
158158
conditional 3 statement 2
159-
...
159+
# ...
160160
else: # this, too, is optional
161161
alternative statement 1
162162
alternative statement 2
163-
...
163+
# ...
164164

165165
normal statement 1
166166
normal statement 2
167-
...
167+
# ...
168168
\end{pythonSyntax}
169169
%
170170
Notice that we can use arbitrarily many \pythonils{elif}\pythonIdx{elif} and, optionally, one~\pythonilIdx{else}.

0 commit comments

Comments
 (0)