From 8b11dd461c6d13afa852619b213b310e5b74181b Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 5 Oct 2015 17:45:57 +0200 Subject: Added problem divisors. Some small bug fixes. --- python/problems/introduction/average/common.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python/problems/introduction') 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]): -- cgit v1.2.1