summaryrefslogtreecommitdiff
path: root/python/problems/functions
diff options
context:
space:
mode:
authorMartin Možina <martin.mozina@fri.uni-lj.si>2015-11-11 17:25:59 +0100
committerMartin Možina <martin.mozina@fri.uni-lj.si>2015-11-11 17:25:59 +0100
commitc28eb40d85ed886faa271f614538bff1342a5989 (patch)
tree6bfd2d570418fe5b3cffb59fe2e0f1bd1e09ea25 /python/problems/functions
parentbd276e2c66a8f902c30118aa12e0e8bdd146192e (diff)
Added a short plan to a problem.
Diffstat (limited to 'python/problems/functions')
-rw-r--r--python/problems/functions/body_mass_index_2/sl.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/python/problems/functions/body_mass_index_2/sl.py b/python/problems/functions/body_mass_index_2/sl.py
index 8cd56c7..9f323bd 100644
--- a/python/problems/functions/body_mass_index_2/sl.py
+++ b/python/problems/functions/body_mass_index_2/sl.py
@@ -17,11 +17,15 @@ Naloga je podobna prejšnji, le da imamo tokrat podatke v drugačni obliki:
</pre>
</p>'''
-plan = ['''\
-<p></p>
-''',
- '''\
-<p></p>''']
+zip_function = ['''\
+<p>Uporabi <code>zip</code> in rešitev bo zelo podobna prejšnji. </p>''',
+ '''
+<pre>
+for n, w, h in zip(names, weights, heights):
+</pre>''']
+
+
+plan = [zip_function]
hint = {
'final_hint': ['''\