From 140b29d1b9418a42fea0d1287f115bee840d521e Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 16 Jan 2017 16:08:14 -0600 Subject: [PATCH] Fix generator/grader for hello world. --- hello-world/generator.py | 2 -- hello-world/grader.py | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/hello-world/generator.py b/hello-world/generator.py index c9936bc..d2bc084 100644 --- a/hello-world/generator.py +++ b/hello-world/generator.py @@ -1,3 +1 @@ -fin = open("case_number", "r") - # Do nothing, as there is no input. \ No newline at end of file diff --git a/hello-world/grader.py b/hello-world/grader.py index 8814116..406f745 100644 --- a/hello-world/grader.py +++ b/hello-world/grader.py @@ -1,4 +1 @@ -fin = open("program_output", "r") - -output = fin.read().strip() -print "OK" if output == "Hello, world!" else "FAIL" \ No newline at end of file +print "Hello, world!" \ No newline at end of file