summaryrefslogtreecommitdiff
path: root/yaksh/python_stdio_evaluator.py
diff options
context:
space:
mode:
authormaheshgudi2016-09-26 18:15:04 +0530
committermaheshgudi2016-09-26 18:15:04 +0530
commited46c4a2cf6bbf41f50faafc785f001e3d10d195 (patch)
tree7b9175135c6b66702dcdb03b1eaa34b63e6f2855 /yaksh/python_stdio_evaluator.py
parent0845f5f67aabd311a4b0bf70d099be07d688bb80 (diff)
downloadonline_test-ed46c4a2cf6bbf41f50faafc785f001e3d10d195.tar.gz
online_test-ed46c4a2cf6bbf41f50faafc785f001e3d10d195.tar.bz2
online_test-ed46c4a2cf6bbf41f50faafc785f001e3d10d195.zip
refactored stdio_evaluator
Diffstat (limited to 'yaksh/python_stdio_evaluator.py')
-rw-r--r--yaksh/python_stdio_evaluator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/python_stdio_evaluator.py b/yaksh/python_stdio_evaluator.py
index 4a02267..2cfd9c8 100644
--- a/yaksh/python_stdio_evaluator.py
+++ b/yaksh/python_stdio_evaluator.py
@@ -53,11 +53,11 @@ class PythonStdioEvaluator(CodeEvaluator):
tb = None
if self.output_value == expected_output:
success = True
- err = "Correct Answer"
+ err = "Correct answer"
else:
success = False
err = dedent("""
- Incorrect Answer:
+ Incorrect answer:
Given input - {0}
Expected output - {1}
Your output - {2}