Commit 21636840 by BellCodeEditor

auto save

parent 1c197d62
Showing with 9 additions and 1 deletions
......@@ -8,7 +8,7 @@ key_message=""
# 请使用私钥key,对message进行加密
for i in range(len(message)):
a=message[i]
b=random.choice(key)
b=random.choice(key) #随机从key字符串中取出一个字符
c=random.choice(key)
d=a+b+c
key_message=key_message+d
......
import turtle
#写字
pen=turtle.Pen()
pen.write("hi,你好!\n用python编程吧!",font=("宋体",28,"normal") )
#pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal"))
pen.hideturtle()
turtle.done()
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