~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to exercises/sample/hello.xml

  • Committer: Matt Giuca
  • Date: 2009-12-01 04:27:58 UTC
  • mfrom: (1164.2.46 sphinx-docs)
  • Revision ID: matt.giuca@gmail.com-20091201042758-wuxd9bdec00c283i
Merged sphinx-docs branch. This adds Sphinx documentation for the entire IVLE system (for system administrators and developers), and removes all of our random old document files (all either irrelevant, or moved into the Sphinx docs nicely). Currently incomplete, but ready to merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<exercise name = "Hello Name">
2
 
    <desc>You need to write <b>Hello</b> and then your name.</desc>
 
2
    <desc>You need to write "Hello" and then your name.</desc>
3
3
    <partial>
4
4
<![CDATA[
5
 
print "Hello &lt;print the contents of the variable 'name' here&gt;."
 
5
print "Hello <print the contents of the variable 'name' here>"
6
6
]]>
7
7
    </partial>
8
8
    <solution>
23
23
            <code type="check">lambda x,y: 'print' in y</code>
24
24
        </function>
25
25
        <!-- Ensures that all outputs match exactly --> 
26
 
        <function pass="Exact match" fail="Incorrect characters still" default="match"/>
 
26
        <function pass="Exact match" fail="Incorrect characters still" default="ignore">
 
27
            <stdout type="norm">str.strip</stdout>
 
28
        </function>
27
29
    </case>
28
30
</exercise>
29
31