diff options
Diffstat (limited to 'python/problems/introduction/pythagorean_theorem')
-rw-r--r-- | python/problems/introduction/pythagorean_theorem/common.py | 6 |
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') |