Commit 9d41de45 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 19 additions and 0 deletions
import random
key='fdsfgsstrsrs'
message='fghsjythfcvzsgh'
m=""
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=str1+str2+str3
m=m+text
print(m)
\ No newline at end of file
利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("Hi,诺一~\n用pythan写电子贺卡真是太有趣了~\n我也喜欢pythan~\n-悟空",font=("Times",20"normal"))
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