Added fizz-buzz-2's source grader
This commit is contained in:
parent
bf5542e438
commit
5d2e620fc1
1 changed files with 5 additions and 0 deletions
5
fizz-buzz-2/source_grader.py
Normal file
5
fizz-buzz-2/source_grader.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
code = raw_input()
|
||||
if ("i" in code) or ("I" in code) or ("?" in code):
|
||||
print "Your program contains an 'i', 'I', or '?'. Please remove it and try again."
|
||||
else
|
||||
print "OK"
|
Loading…
Reference in a new issue