Commit 89864357 by BellCodeEditor

save project

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