easyctf-2017/dijkstra/grader.py
2016-10-10 09:26:10 -05:00

4 lines
No EOL
241 B
Python

def grade(autogen, answer):
if answer.find("edsger_wybe_dijkstra_was_a_happy_accident") != -1:
return { "correct": True, "message": "Great Job! That's a tough one." }
return { "correct": False, "message": "Nope, try again." }