乱数。
#!/usr/bin/python import random import sys test = random.randrange(10000) print test if test >= 5000: print "OK!!" else: sys.stdout.write('ERROR')
乱数。
#!/usr/bin/python import random import sys test = random.randrange(10000) print test if test >= 5000: print "OK!!" else: sys.stdout.write('ERROR')