summaryrefslogtreecommitdiff
path: root/python/problems/introduction/pythagorean_theorem
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-02 16:14:24 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-02 16:14:24 +0200
commit4e7b80974d7433f96fa1908293e5faee9d8de519 (patch)
tree9137c6a2fb801a7f0527530f0909976e39728ef6 /python/problems/introduction/pythagorean_theorem
parentdf229fbab5f8cf2b310bc44e1501f03149fceb65 (diff)
Removed unnecessary HintSequences.
Diffstat (limited to 'python/problems/introduction/pythagorean_theorem')
-rw-r--r--python/problems/introduction/pythagorean_theorem/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/problems/introduction/pythagorean_theorem/common.py b/python/problems/introduction/pythagorean_theorem/common.py
index 193527e..d11dae0 100644
--- a/python/problems/introduction/pythagorean_theorem/common.py
+++ b/python/problems/introduction/pythagorean_theorem/common.py
@@ -2,7 +2,7 @@
from python.util import has_token_sequence, string_almost_equal, \
string_contains_number, get_tokens, get_numbers, get_exception_desc
-from server.hints import Hint, HintSequence
+from server.hints import Hint
id = 188
group = 'introduction'
@@ -19,8 +19,8 @@ print("Hipotenuza trikotnika s stranicama", a, "in", b, "je", c)
hint_type = {
'plan': Hint('plan'),
- 'name_error': HintSequence('name_error', 4),
- 'unsupported_operand': HintSequence('unsupported_operand', 4),
+ 'name_error': Hint('name_error'),
+ 'unsupported_operand': Hint('unsupported_operand'),
'no_input_call' : Hint('no_input_call'),
'printing': Hint('printing'),
'math_functions': Hint('math_functions')