summaryrefslogtreecommitdiff
path: root/python/problems/introduction
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-05 17:45:57 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-05 17:45:57 +0200
commit8b11dd461c6d13afa852619b213b310e5b74181b (patch)
treeac1cc8c6e6d7f38cfd6c425d80422f8c85efb8b3 /python/problems/introduction
parente63627ad942a7d2c9eebb86f15c96191e7408eb8 (diff)
Added problem divisors.
Some small bug fixes.
Diffstat (limited to 'python/problems/introduction')
-rw-r--r--python/problems/introduction/average/common.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/problems/introduction/average/common.py b/python/problems/introduction/average/common.py
index 1609a6f..4e7e97c 100644
--- a/python/problems/introduction/average/common.py
+++ b/python/problems/introduction/average/common.py
@@ -49,14 +49,11 @@ def test(python, code):
]
# List of outputs: (expression result, stdout, stderr, exception).
- print ("ena")
answers = python(code=code, inputs=test_in, timeout=1.0)
outputs = [ans[1] for ans in answers]
n_correct = 0
tin = None
- print (outputs)
- print (test_out)
for i, (output, correct) in enumerate(zip(outputs, test_out)):
if string_almost_equal(output, correct[0]) and \
string_almost_equal(output, correct[1]):