easyctf-2017/diffie-cult/grader.py

5 lines
120 B
Python
Raw Normal View History

2017-03-11 17:24:31 +00:00
def grade(autogen, answer):
2017-03-12 09:10:42 +00:00
if answer == ("906730649345"):
2017-03-11 17:24:31 +00:00
return True, "Correct!"
2017-03-12 09:10:42 +00:00
return False, "Nope, try again."