summaryrefslogtreecommitdiff
path: root/python/problems/while_and_if/consumers_anonymous/common.py
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-07 16:07:05 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-07 16:07:05 +0200
commitbab0b0a2fe8b3aad853740750d4873fb929f5f41 (patch)
treedff5d20ce51ddb2f50161da0e5d0f139c589315f /python/problems/while_and_if/consumers_anonymous/common.py
parent609daf7798f98b0359bb188eb3a83690e93ace7f (diff)
Remove bold text since it looked strange.
Diffstat (limited to 'python/problems/while_and_if/consumers_anonymous/common.py')
-rw-r--r--python/problems/while_and_if/consumers_anonymous/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/problems/while_and_if/consumers_anonymous/common.py b/python/problems/while_and_if/consumers_anonymous/common.py
index 07a0ebf..b955f49 100644
--- a/python/problems/while_and_if/consumers_anonymous/common.py
+++ b/python/problems/while_and_if/consumers_anonymous/common.py
@@ -111,7 +111,7 @@ def hint(python, code):
return [{'id' : 'printing'}]
# student does not print any values
- if not get_numbers(answer[0][1]):
+ if len(get_numbers(answer[0][1])) < 2:
return [{'id' : 'nonumber'}]
# student's answer is not correct (three possibilities)