From ed5473c15bdb472219056b30850605cf7e3b9a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mo=C5=BEina?= Date: Mon, 26 Oct 2015 17:50:22 +0100 Subject: Corrected tests in for-loop problems. Fixed some typos. --- python/problems/functions/body_mass_index/sl.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'python/problems/functions/body_mass_index') 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 bmi(osebe), ki na podlagi podanega seznama osebe

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

-''', +for_multiple = [ '''\ -

'''] +

Kadar imamo v seznamu strukture z enako elementi, lahko v for +zanko napišemo več spremenljivk:

+
+for ime, teza, visina in osebe:
+
'''] + +bmi = [ + '''\ +

Link'''] + + +plan = [bmi, for_multiple] hint = { 'final_hint': ['''\ -- cgit v1.2.1