Commit 47f096dd by sikang

uo

parent 184d2f21
...@@ -20,9 +20,9 @@ def gen_rand_str(): ...@@ -20,9 +20,9 @@ def gen_rand_str():
def get_rand_code(): def get_rand_code():
indentasi = random.randint(0, 3); indentasi = random.randint(0, 5);
indentasiStr = "" indentasiStr = ""
for num in indentasi: for num in range(0,indentasi):
indentasiStr +="\t" indentasiStr +="\t"
#随机缩进 #随机缩进
......
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