easyctf-2017/commentary/grader.py
2017-03-13 18:44:08 -05:00

4 lines
121 B
Python

def grade(autogen, answer):
if answer.find("yougotit")!=-1:
return True, "Correct!"
return False, "Nope, try again."