From c28eb40d85ed886faa271f614538bff1342a5989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mo=C5=BEina?= Date: Wed, 11 Nov 2015 17:25:59 +0100 Subject: Added a short plan to a problem. --- python/problems/functions/body_mass_index_2/sl.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'python/problems/functions/body_mass_index_2') 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:

''' -plan = ['''\ -

-''', - '''\ -

'''] +zip_function = ['''\ +

Uporabi zip in rešitev bo zelo podobna prejšnji.

''', + ''' +
+for n, w, h in zip(names, weights, heights):
+
'''] + + +plan = [zip_function] hint = { 'final_hint': ['''\ -- cgit v1.2.1