Skip to content

Commit 721b74d

Browse files
committed
fixes to get rid of duplicate ids
1 parent 3b4b5c4 commit 721b74d

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

pretext/functions/funcWithLists.ptx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<section xml:id="functions_group-work-functions-and-lists">
1010
<title>Learning Objectives</title>
1111
<introduction>
12+
13+
1214
<p>Students will know and be able to do the following.</p>
1315
<p>
1416
<em>Content Objectives:</em>

pretext/functions/funcWithListsAndLoops.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<subsection xml:id="flal_the-for-each-loop">
6565
<title>The For-Each Loop</title>
6666
<p>A for-each loop in Python will loop though the items in a list starting with the item at index 0, then index 1, and so on till the last item in the list.</p>
67-
<exercise label="funct_ll_fitb_count_odd_first">
67+
<exercise label="flal_ll_fitb_count_odd_first">
6868
<statement>
6969
<p>What is the first thing that will be printed by the code below? <var/> </p>
7070
</statement>

pretext/functions/funcWithStrsAndConds.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,11 +596,11 @@ main()
596596
<subsection xml:id="fsc_logical-operators-and-complex-conditionals">
597597
<title>Logical Operators and Complex Conditionals</title>
598598
<p>The logical operators in Python are <c>and</c>, <c>or</c>, and <c>not</c>. These can be used to create complex conditionals.</p>
599-
<exercise label="func_ac_and_complex_cond">
599+
<exercise label="fsc_ac_and_complex_cond">
600600
<statement>
601601
<p>Modify this code to use a complex conditional instead. It should still pass all tests. It should only take four lines of code or less.</p>
602602
</statement>
603-
<program xml:id="func_ac_and_complex_cond_editor" interactive="activecode" language="python">
603+
<program xml:id="fsc_ac_and_complex_cond_editor" interactive="activecode" language="python">
604604
<input>
605605
# function definition
606606
def test(a):

pretext/tuples/debugging.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</choices>
4545
</exercise>
4646
<exercise>
47-
<statement label="tuple-wrong-data-struct-1">
47+
<statement label="tuple-deb-wrong-data-struct-1">
4848
<p>11-9-2: A(n) ________ is an error that is caused when a data structure has the wrong type, size, or composition. <var/> </p>
4949
</statement>
5050
<setup>

0 commit comments

Comments
 (0)