Commit 89864357 by BellCodeEditor

save project

parent bfe37c8c
Pipeline #11771 failed in 0 seconds
Showing with 12 additions and 18 deletions
import random import turtle
key="基础阶段成绩单寄出的基础决定农村的经济迟到就迟到基层党建成绩单jkxjc" pen=turtle.Pen()
message="诺依,周末一起去看漫画展吧!" screen=turtle.Screen()
key_message="" screen.bgcolor("black")
noise="%%^^%$$3$%%^^^&^^%$%#$#@#@#!@$%^&" colors=["green","red","orange","yellow"]
for i in message: for i in range(1,300):
str1=i pen.pencolor(colors[i%4])
str2=random.choice(key) pen.forward(i)
str3=random.choice(key) pen.right(91)
text=str1+str2+str3 pen.hideturtle()
key_message=key_message+text turtle.done()
\ No newline at end of file
list_message=list(key_message)
b=random.randint(0,len(list_message))
list_message.insert(b,noise)
abc="".join(list_message)
print(abc)
\ 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