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