Commit 1ac2e04c by BellCodeEditor

save project

parent e70f0ab4
Showing with 17 additions and 13 deletions
import turtle
pen=turtle.Pen()
distance=1
for i in range(300):
pen.forward(distance)
distance+=1
pen.right(91)
turtle.done()
a=["华雄"] import random
a=["华雄"] import random
a.insert(1,"关羽") key="abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
print(a) message="诺伊,周末一起去看动漫展吧!"
k=""
b="陈子钦真帅"
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
test=str1+str2+str3
k=k+test
list_message=list(k)
list_message.insert(5,b)
a="".join(list_message)
print(a)
\ 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