summaryrefslogtreecommitdiff
path: root/python/problems/functions/body_mass_index
diff options
context:
space:
mode:
authorMartin Možina <martin.mozina@fri.uni-lj.si>2015-10-26 17:50:22 +0100
committerMartin Možina <martin.mozina@fri.uni-lj.si>2015-10-26 17:50:22 +0100
commited5473c15bdb472219056b30850605cf7e3b9a18 (patch)
tree4df880722b9865a2c5ef5bc23032e77144e5a763 /python/problems/functions/body_mass_index
parentce6b6b0bc9af3cff176bd995ee25c8334eea632c (diff)
Corrected tests in for-loop problems.
Fixed some typos.
Diffstat (limited to 'python/problems/functions/body_mass_index')
-rw-r--r--python/problems/functions/body_mass_index/sl.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/python/problems/functions/body_mass_index/sl.py b/python/problems/functions/body_mass_index/sl.py
index fd67c88..995e974 100644
--- a/python/problems/functions/body_mass_index/sl.py
+++ b/python/problems/functions/body_mass_index/sl.py
@@ -21,11 +21,20 @@ Napišite funkcijo <code>bmi(osebe)</code>, ki na podlagi podanega seznama osebe
</pre>
</p>'''
-plan = ['''\
-<p></p>
-''',
+for_multiple = [
'''\
-<p></p>''']
+<p>Kadar imamo v seznamu strukture z enako elementi, lahko v <code>for</code>
+zanko napišemo več spremenljivk:</p>
+<pre>
+for ime, teza, visina in osebe:
+</pre>''']
+
+bmi = [
+ '''\
+<p><a href="//sl.wikipedia.org/wiki/Indeks_telesne_mase">Link</a>''']
+
+
+plan = [bmi, for_multiple]
hint = {
'final_hint': ['''\