Skip to content

Commit 159d64a

Browse files
committed
Lab05 bugfix in exercise 2.b
1 parent 9f41625 commit 159d64a

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

laboratory/docs/chapter/05.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ for i in range(0,100):
161161
random.shuffle(l_of_pokemons)
162162
pok_winner = pokemon_champion(l_of_pokemons)[0][0]
163163
if pok_winner not in winners_dict:
164-
winners_dict[pok_winner] = 1
164+
winners_dict[pok_winner] = 0
165165
winners_dict[pok_winner] += 1
166166
print(winners_dict)
167167
```

laboratory/site/chapter/05/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ <h3 id="2nd-exercise">2nd Exercise</h3>
273273
random.shuffle(l_of_pokemons)
274274
pok_winner = pokemon_champion(l_of_pokemons)[0][0]
275275
if pok_winner not in winners_dict:
276-
winners_dict[pok_winner] = 1
276+
winners_dict[pok_winner] = 0
277277
winners_dict[pok_winner] += 1
278278
print(winners_dict)
279279
</code></pre>

laboratory/site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
234234

235235
<!--
236236
MkDocs version : 1.4.2
237-
Build Date UTC : 2022-11-26 10:09:54.801908+00:00
237+
Build Date UTC : 2022-11-27 15:39:15.846275+00:00
238238
-->

laboratory/site/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

laboratory/site/sitemap.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,47 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>None</loc>
5-
<lastmod>2022-11-26</lastmod>
5+
<lastmod>2022-11-27</lastmod>
66
<changefreq>daily</changefreq>
77
</url>
88
<url>
99
<loc>None</loc>
10-
<lastmod>2022-11-26</lastmod>
10+
<lastmod>2022-11-27</lastmod>
1111
<changefreq>daily</changefreq>
1212
</url>
1313
<url>
1414
<loc>None</loc>
15-
<lastmod>2022-11-26</lastmod>
15+
<lastmod>2022-11-27</lastmod>
1616
<changefreq>daily</changefreq>
1717
</url>
1818
<url>
1919
<loc>None</loc>
20-
<lastmod>2022-11-26</lastmod>
20+
<lastmod>2022-11-27</lastmod>
2121
<changefreq>daily</changefreq>
2222
</url>
2323
<url>
2424
<loc>None</loc>
25-
<lastmod>2022-11-26</lastmod>
25+
<lastmod>2022-11-27</lastmod>
2626
<changefreq>daily</changefreq>
2727
</url>
2828
<url>
2929
<loc>None</loc>
30-
<lastmod>2022-11-26</lastmod>
30+
<lastmod>2022-11-27</lastmod>
3131
<changefreq>daily</changefreq>
3232
</url>
3333
<url>
3434
<loc>None</loc>
35-
<lastmod>2022-11-26</lastmod>
35+
<lastmod>2022-11-27</lastmod>
3636
<changefreq>daily</changefreq>
3737
</url>
3838
<url>
3939
<loc>None</loc>
40-
<lastmod>2022-11-26</lastmod>
40+
<lastmod>2022-11-27</lastmod>
4141
<changefreq>daily</changefreq>
4242
</url>
4343
<url>
4444
<loc>None</loc>
45-
<lastmod>2022-11-26</lastmod>
45+
<lastmod>2022-11-27</lastmod>
4646
<changefreq>daily</changefreq>
4747
</url>
4848
</urlset>

laboratory/site/sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)