summaryrefslogtreecommitdiff
path: root/python/problems/introduction/pythagorean_theorem
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-09-15 16:58:40 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-09-15 16:58:40 +0200
commit87a510e8c93ebdd9f535bf32450d385af87396de (patch)
treef9cf2d81ab420944f7ddcebddf211c3effd68859 /python/problems/introduction/pythagorean_theorem
parent59739438b954e3977263cd7df7869ac5539ca188 (diff)
Added a new problem: Average
Diffstat (limited to 'python/problems/introduction/pythagorean_theorem')
-rw-r--r--python/problems/introduction/pythagorean_theorem/sl.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/python/problems/introduction/pythagorean_theorem/sl.py b/python/problems/introduction/pythagorean_theorem/sl.py
index d9f0281..15c498a 100644
--- a/python/problems/introduction/pythagorean_theorem/sl.py
+++ b/python/problems/introduction/pythagorean_theorem/sl.py
@@ -22,15 +22,8 @@ general_exception = {
''',
'name_error' : '''
- <p>Napaka tipa NameError označuje, da uporabljate nedefinirano vrednost:</p>
- <ul>
- <li>Če je v napaki omenjena spremenljivka, potem vrednost te spremenljivke ni določena,
- a vi jo poskušate uporabiti.</li>
- <li>Če napaka omenja ime funkcije, potem ste verjetno pozabili uvoziti ustrezni modul.
- Npr. če gre za matematično funkcijo, je potrebno uvoziti modul <code>math</code>:
- <pre>
- from math import *
- </pre>
+ <p>Napaka <code>NameError</code> pomeni, da uporabljate nedefinirano vrednost:
+ ali vrednost spremenljivke ni določena ali uporabljate funkcijo, ki ni uvožena.</p>
''',
'type_error': '''