summaryrefslogtreecommitdiff
path: root/python/problems/lists_and_if-fkkt
diff options
context:
space:
mode:
authorMatevž Poberžnik <tevzpoberznik@gmail.com>2017-10-27 14:27:32 +0200
committerMatevž Poberžnik <tevzpoberznik@gmail.com>2017-10-27 14:27:32 +0200
commitd224a2d6a215264e6ca5854d07461311bda773c1 (patch)
treef533d0b72122346d55d91728ad7e6924060bdfe4 /python/problems/lists_and_if-fkkt
parent665a87cf4b20aa577eebc7b686b662bc856a331f (diff)
HW 2 - FKKT
Diffstat (limited to 'python/problems/lists_and_if-fkkt')
-rw-r--r--python/problems/lists_and_if-fkkt/contains_number/common.py2
-rw-r--r--python/problems/lists_and_if-fkkt/contains_word/common.py2
-rw-r--r--python/problems/lists_and_if-fkkt/temp_converter/common.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/problems/lists_and_if-fkkt/contains_number/common.py b/python/problems/lists_and_if-fkkt/contains_number/common.py
index b20d7b9..0601f49 100644
--- a/python/problems/lists_and_if-fkkt/contains_number/common.py
+++ b/python/problems/lists_and_if-fkkt/contains_number/common.py
@@ -4,7 +4,7 @@ from python.util import has_token_sequence, string_almost_equal, \
from server.hints import Hint
id = 25006
-number = 2
+number = 3
visible = True
solution = '''\
diff --git a/python/problems/lists_and_if-fkkt/contains_word/common.py b/python/problems/lists_and_if-fkkt/contains_word/common.py
index 1c4843c..aed2a9e 100644
--- a/python/problems/lists_and_if-fkkt/contains_word/common.py
+++ b/python/problems/lists_and_if-fkkt/contains_word/common.py
@@ -4,7 +4,7 @@ from python.util import has_token_sequence, string_almost_equal, \
from server.hints import Hint
id = 25007
-number = 3
+number = 2
visible = True
solution = '''\
diff --git a/python/problems/lists_and_if-fkkt/temp_converter/common.py b/python/problems/lists_and_if-fkkt/temp_converter/common.py
index 1b41ef1..0fe68e7 100644
--- a/python/problems/lists_and_if-fkkt/temp_converter/common.py
+++ b/python/problems/lists_and_if-fkkt/temp_converter/common.py
@@ -66,7 +66,7 @@ def test(python, code, aux_code=''):
def hint(python, code, aux_code=''):
# run one test first to see if there are any exceptions
- test_in = [(None, '1\n')]
+ test_in = [(None, '32\nK\n')]
answer = python(code=aux_code+code, inputs=test_in, timeout=1.0)
exc = get_exception_desc(answer[0][3])
if exc: return exc