From 4e7b80974d7433f96fa1908293e5faee9d8de519 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 2 Oct 2015 16:14:24 +0200 Subject: Removed unnecessary HintSequences. --- .../while_and_if/consumers_anonymous/en.py | 48 ++++++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) (limited to 'python/problems/while_and_if/consumers_anonymous/en.py') diff --git a/python/problems/while_and_if/consumers_anonymous/en.py b/python/problems/while_and_if/consumers_anonymous/en.py index 94ea662..6331570 100644 --- a/python/problems/while_and_if/consumers_anonymous/en.py +++ b/python/problems/while_and_if/consumers_anonymous/en.py @@ -1,4 +1,6 @@ # coding=utf-8 +import server +mod = server.problems.load_language('python', 'sl') id = 201 name = 'Consumers Anonymous' @@ -7,10 +9,48 @@ slug = 'Consumers Anonymous' description = '''\

(translation missing)

''' + +main_plan = ['''\ +'''] + +while_condition = ['''\ +'''] + +while_clause = ['''\ +''' +] + +plan = [main_plan, + while_condition] + hint = { - 'plan': '''\ -

(translation missing)

''', + 'while_clause': while_clause, + + 'while_condition': while_condition, + + 'printing': ['''\ +'''], - 'no_input_call': '''\ -

(translation missing)

''', + 'nonumber': ['''

'''], + + 'summation': ['''

'''], + + 'counting': ['''

'''], + + 'name_error' : [mod.general_msg['error_head'], + mod.general_msg['general_exception'], + mod.general_msg['name_error'], + '''\ +'''], + + 'problematic_test_case': ['''\ +'''], + + 'final_hint': ['''\ +'''], + + 'eof_error':[mod.general_msg['eof_error'], + '''\ +'''] } + -- cgit v1.2.1