From 4e7b80974d7433f96fa1908293e5faee9d8de519 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 2 Oct 2015 16:14:24 +0200 Subject: Removed unnecessary HintSequences. --- python/problems/introduction/pythagorean_theorem/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/problems/introduction/pythagorean_theorem') 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') -- cgit v1.2.1