Commit ad27f730 by BellCodeEditor

save project

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