summaryrefslogtreecommitdiff
path: root/python/problems/introduction/ballistics
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/ballistics
parent59739438b954e3977263cd7df7869ac5539ca188 (diff)
Added a new problem: Average
Diffstat (limited to 'python/problems/introduction/ballistics')
-rw-r--r--python/problems/introduction/ballistics/sl.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/python/problems/introduction/ballistics/sl.py b/python/problems/introduction/ballistics/sl.py
index 9150444..15b02be 100644
--- a/python/problems/introduction/ballistics/sl.py
+++ b/python/problems/introduction/ballistics/sl.py
@@ -32,15 +32,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': '''