Commit 25b6db76 by Arjun Singh

Replacing startouttext/endouttext with text in examples.

parent c87f9cd5
...@@ -294,13 +294,13 @@ class ChoiceResponse(LoncapaResponse): ...@@ -294,13 +294,13 @@ class ChoiceResponse(LoncapaResponse):
<choiceresponse> <choiceresponse>
<radiogroup> <radiogroup>
<choice correct="false"> <choice correct="false">
<startouttext />This is a wrong answer.<endouttext /> <text>This is a wrong answer.</text>
</choice> </choice>
<choice correct="true"> <choice correct="true">
<startouttext />This is the right answer.<endouttext /> <text>This is the right answer.</text>
</choice> </choice>
<choice correct="false"> <choice correct="false">
<startouttext />This is another wrong answer.<endouttext /> <text>This is another wrong answer.</text>
</choice> </choice>
</radiogroup> </radiogroup>
</choiceresponse> </choiceresponse>
...@@ -558,13 +558,13 @@ class CustomResponse(LoncapaResponse): ...@@ -558,13 +558,13 @@ class CustomResponse(LoncapaResponse):
or in a <script>...</script> or in a <script>...</script>
''' '''
snippets = [{'snippet': '''<customresponse> snippets = [{'snippet': '''<customresponse>
<startouttext/> <text>
<br/> <br/>
Suppose that \(I(t)\) rises from \(0\) to \(I_S\) at a time \(t_0 \neq 0\) Suppose that \(I(t)\) rises from \(0\) to \(I_S\) at a time \(t_0 \neq 0\)
In the space provided below write an algebraic expression for \(I(t)\). In the space provided below write an algebraic expression for \(I(t)\).
<br/> <br/>
<textline size="5" correct_answer="IS*u(t-t0)" /> <textline size="5" correct_answer="IS*u(t-t0)" />
<endouttext/> </text>
<answer type="loncapa/python"> <answer type="loncapa/python">
correct=['correct'] correct=['correct']
try: try:
......
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