To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 05ef4ff4 authored by Luzian Bieri's avatar Luzian Bieri

added infix

parent 3eeb3bc5
Pipeline #64216 passed with stages
in 27 minutes and 7 seconds
......@@ -11,7 +11,8 @@ add_list = [
{'text': 'add_06.pdf', 'link': './out/add_06.pdf'},
{'text': 'hanoi.pdf', 'link': 'https://polybox.ethz.ch/index.php/s/kzVlFnVhKylBLOY'},
{'text': 'ebnf.txt', 'link': 'https://polybox.ethz.ch/index.php/s/LoZS7pjEuHbwFQO'},
None
{'text': 'infix.cpp', 'link': 'https://polybox.ethz.ch/index.php/s/61nBTgruPcPmmLG'},
None,
]
exercises_template = {
......@@ -24,7 +25,7 @@ exercises_template = {
def nr2ex(i):
if i == 0:
return exercises_template
i_str = str(i) if i > 10 else '0' + str(i)
i_str = str(i) if i >= 10 else '0' + str(i)
return {
'title': f'Übung {i}',
'slides': {'text': f'slides_{i_str}.pdf', 'link': f'./out/slides_{i_str}.pdf'},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment