diff options
Diffstat (limited to 'python/problems/functions')
-rw-r--r-- | python/problems/functions/body_mass_index_2/sl.py | 14 |
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': ['''\ |