Skip to content

Commit 657e767

Browse files
committed
Post Lab 2
1 parent 9acaaef commit 657e767

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,15 @@ <h4 class="text-primary">Schedule</h4>
177177
<div class="panel-body">
178178
<p class="blurb">Labs in CS41 provide a hands-on opportunity to experiment with the Python concepts presented in lectures. Although students work on these labs during an 80-minute class period, it would take much longer to fully complete a lab. Each lab comes with a number of challenge problems that will take even the experiences programmer nontrivial time. Labs are collaborative and open-ended, frequently asking you to think about how or why Python makes the decisions it does.</p>
179179
<p class="blurb">Each problem is chosen to reinforce a particular concept, but you are free to skip around at will. You are not expected to submit your solutions to labs, although our reference solutions will be posted afterwards. Think of labs as a chance to solidify your working knowledge of Python - after all, what better way to learn Python than to practice it?</p>
180+
<b class="blurb">See <a href="lab_assignments.html">Lab Assignments</a> for your lab assignment!</b>
180181
</div>
181182
<table class="table table-striped table-hover table-bordered">
182183
<thead>
183184
<tr>
184185
<th>Week</th>
185186
<th>Topic</th>
186-
<th>Handout</th>
187+
<th>Part 1 Link</th>
188+
<th>Part 2 Link</th>
187189
<th>Solutions</th>
188190
</tr>
189191
</thead>

js/resources.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function create_lab_tr(lab) {
4747
/*
4848
<tr>
4949
<th scope="row">1</th>
50-
<td><a href=...>Handout</a></td>
50+
<td><a href=...>Part 1</a></td>
51+
<td><a href=...>Part 2</a></td>
5152
<td><a href=...>Solutions</a></td>
5253
</tr>
5354
*/
@@ -59,7 +60,11 @@ function create_lab_tr(lab) {
5960
$('<td>').append(lab.topic)
6061
).append(
6162
$('<td>').append(
62-
create_anchor(lab.href, "Handout", "None", gtag_trackLabHandout)
63+
create_anchor(lab.part1, "Part 1", "None", gtag_trackLabHandout)
64+
)
65+
).append(
66+
$('<td>').append(
67+
create_anchor(lab.part2, "Part 2", "None", gtag_trackLabHandout)
6368
)
6469
).append(
6570
$('<td>').append(

res/labs.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
[
2+
{
3+
"week": 2,
4+
"topic": "Data Structures",
5+
"part1": "https://github.com/stanfordpython/python-labs/blob/master/notebooks/lab-2/data-structures-part-1.ipynb",
6+
"part2": "https://github.com/stanfordpython/python-labs/blob/master/notebooks/lab-2/data-structures-part-2.ipynb",
7+
"solutions": "#",
8+
"visible": true,
9+
"active": true
10+
}
211
]

0 commit comments

Comments
 (0)