easyctf-2017/fizz-buzz-2/source_verifier.py
2017-03-15 11:35:02 -07:00

9 lines
233 B
Python

import sys
code = sys.stdin.read()
if ("i" in code) or ("I" in code) or ("?" in code) or ("eval" in code) or ("exec" in code):
print "Your program contains an 'i', 'I', or '?'. Please remove it and try again."
else:
print "OK"