easyctf-2017/hello-world/grader.py

4 lines
114 B
Python
Raw Normal View History

2016-10-31 21:13:47 +00:00
fin = open("program_output", "r")
output = fin.read().strip()
print "OK" if output == "Hello, world!" else "FAIL"