Commit 6deb634a by BellCodeEditor

auto save

parent 4a991988
Showing with 16 additions and 0 deletions
import turtle
import random
t=turtle.Turtle()
t.penup()
t.goto(-200,0)
text = "你好,我是王浩宇"
for char in text:
font_size = random.randint(10,30)
t.pendown()
t.write(char,font=("Arial",font_size,"normal"))
jump_distance = random.randint(20,50)
t.penup()
t.forward(jump_distance)
t.hideturtle()
turtle.done()
\ No newline at end of file
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 sign in to comment