Commit 5787a32d by sikang

update

parent 97f63809
...@@ -21,7 +21,7 @@ def gen_rand_str(): ...@@ -21,7 +21,7 @@ def gen_rand_str():
def get_rand_code(): def get_rand_code():
num = random.randint(0, 4); num = random.randint(0, 4);
code = "-------"+str(num)+"-------" code = "//-------"+str(num)+"-------"
if num == 0: if num == 0:
code += ";\nString " + gen_rand_str() + "=\"" + gen_rand_str() + "\";\n" code += ";\nString " + gen_rand_str() + "=\"" + gen_rand_str() + "\";\n"
elif num == 1: elif num == 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment