summaryrefslogtreecommitdiff
path: root/python/problems/introduction/fast_fingers_2/sl.py
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-07 10:55:06 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-07 10:55:06 +0200
commit609daf7798f98b0359bb188eb3a83690e93ace7f (patch)
treee9bcb0988ccda2d7be9e8dd93fae623058990c75 /python/problems/introduction/fast_fingers_2/sl.py
parentf05346555a512281762db4c0166edf2129cee7a6 (diff)
Added final hint to Fast Fingers 2.
Diffstat (limited to 'python/problems/introduction/fast_fingers_2/sl.py')
-rw-r--r--python/problems/introduction/fast_fingers_2/sl.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/python/problems/introduction/fast_fingers_2/sl.py b/python/problems/introduction/fast_fingers_2/sl.py
index 6472442..125bd24 100644
--- a/python/problems/introduction/fast_fingers_2/sl.py
+++ b/python/problems/introduction/fast_fingers_2/sl.py
@@ -66,11 +66,20 @@ hint = {
'if_clause': if_clause,
'final_hint': ['''\
-<p><b>Odlično!</b> Za konec pa še zanimivost.
-Pri tej nalogi stavka <code>if</code> niti ne potrebujemo, saj bi lahko napisali le:</p>
+<p>Odlično, program je pravilen! <br>
+Za konec pa še zanimivost. Pri tej nalogi stavka <code>if</code> niti ne potrebujemo, saj bi lahko napisali le:</p>
<pre>
print(a*b == c)
</pre>
-<p>kar bi izpisalo rezultat tega izraza. Poskusi!</p>''']
+<p>kar bi izpisalo rezultat tega izraza. Poskusi!</p>'''],
+ 'final_hint_noif': ['''\
+<p>Odlično, program je pravilen! </p>'''],
+
+ 'problematic_test_case': [
+ '''\
+<p>Program ne deluje pravilno! <br>
+Primer množenja: [%=mult%] <br>
+Če vnesemo: [%=testin%], <br>
+bi moral izpisati: [%=testout%].</p>''']
}