Commit ad27f730 by BellCodeEditor

save project

parent 25f5dbc4
Showing with 3331 additions and 16 deletions
import random import turtle
pen = turtle.Pen()
noise = "高科技刚刚i给" screen = turtle.Screen()
key ="123456789" #answer = screen.textinput("tiltle","提问")
message = "诺依,周末一起去看动漫展吧!" screen.bgcolor("blue")
text ="" pen.pencolor("yellow")
for i in message: pen.pensize(2)
str1 = i #诺依 pen.forward(200)
str2 = random.choice(key) #5 6 pen.circle(90)
str3 = random.choice(key) #3 5 pen.right(30)
text = text+str1+str2+str3 #诺53 依65 pen.forward(72)
text = list(text) pen.left(32)
text.insert(random.randint(1,10),noise) pen.circle(42)
text = "".join(text) pen.right(24)
print(text) pen.circle(45)
\ No newline at end of file pen.left(32)
pen.left(54)
pen.left(32)
pen.right(56)
pen.left(31)
pen.left(63)
pen.right(42)
pen.left(54)
pen.fillcolor("red")
pen.begin_fill()
pen.end_fill()
pen.goto(0,0)
pen.penup()
pen.pendown()
pen.write("1\n 2",font=("宋体",20,"normal"))
pen.left(45)
pen.right(45)
turtle.done()
pen.lift
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