Commit eeb08bbf by BellCodeEditor

save project

parent 2c43e902
Showing with 14 additions and 21 deletions
name=input("输入名字")
print(name+",欢迎你!")
\ No newline at end of file
import random import turtle
pen=turtle.Pen()
# 私钥 pen.speed(500)
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" pen.fillcolor("red")
# 要加密语句 pen.begin_fill()
message = "诺依,周末一起去看动漫展吧!" for i in range(36):
# 请使用私钥key,对message进行加密 pen.forward(200)
r='' pen.right(170)
nose='%$^%&*^*^&$' pen.end_fill()
for i in range(len(message)): turtle.done()
q=message[i] \ No newline at end of file
w=random.choice(key)
e=random.choice(key)
r=r+q+w+e
r_list=list(r)
r_list.insert(random.randint(1,20),nose)
s=''.join(r_list)
print(s)
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