Skip to content

Commit 375c773

Browse files
committed
More fix code block color
1 parent 18a0af0 commit 375c773

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

_episodes/05-cond.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ We can check for this inside the `for` loop we wrote with the following conditio
139139
if numpy.max(data, axis=0)[0] == 0 and numpy.max(data, axis=0)[20] == 20:
140140
print('Suspicious looking maxima!')
141141
~~~
142-
{: .python}
143142

144143
We also saw a different problem in the third dataset;
145144
the minima per day were all zero (looks like a healthy person snuck into our study).
@@ -149,15 +148,13 @@ We can also check for this with an `elif` condition:
149148
elif numpy.sum(numpy.min(data, axis=0)) == 0:
150149
print('Minima add up to zero!')
151150
~~~
152-
{: .python}
153151

154152
And if neither of these conditions are true, we can use `else` to give the all-clear:
155153

156154
~~~
157155
else:
158156
print('Seems OK!')
159157
~~~
160-
{: .python}
161158

162159
Let's test that out:
163160

0 commit comments

Comments
 (0)