Fix source verifer for fizz buzz 2
This commit is contained in:
parent
13bea1f4cd
commit
970d61159d
1 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
code = raw_input()
|
import sys
|
||||||
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."
|
code = sys.stdin.read()
|
||||||
else
|
|
||||||
|
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"
|
print "OK"
|
||||||
|
|
Loading…
Reference in a new issue