diff --git "a/python/\351\232\217\346\234\272\347\202\271\345\275\251\347\224\273.py" "b/python/\351\232\217\346\234\272\347\202\271\345\275\251\347\224\273.py" new file mode 100644 index 0000000000000000000000000000000000000000..016d7e21cabf21607063340d00d0789ffbf7d7b8 --- /dev/null +++ "b/python/\351\232\217\346\234\272\347\202\271\345\275\251\347\224\273.py" @@ -0,0 +1,20 @@ +import turtle +import random +color='' +width=x=y=0 +t=turtle.Turtle() +t.hideturtle() +t.speed(0) +t.penup() +for i in range(random.randint(500,1000)): + t.penup() + width=random.randint(1,100) + x=random.uniform(-205.00,205.00) + y=random.uniform(-205.00,205.00) + color='#'+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])+random.choice(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'])#突出 + t.pensize(width) + t.color(color) + t.goto(x,y) + t.pendown() + t.goto(x-0.01,y) +turtle.done() \ No newline at end of file