Commit 9a9f7f8f by BellCodeEditor

save project

parent 18891748
Showing with 30 additions and 0 deletions
import turtle
pen = turtle.Pen()
pen.pencolor("green")
pen.fillcolor("red")
pen.begin_fill()
for i in range(20):
for o in range(4):
pen.forward(100)
pen.left(90)
pen.left(18)
pen.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
import random
key = "tujfk有反给h好尬hjf啊ghkfj"
message = input("请输入:")
huluan = "bj糕h的g环y%74"
key_message = ""
for i in message:
str1 = i
str2 = random.choice(key)
str3 = random.choice(key)
text = str1 + str2 + str3
key_message = key_message + text
list_key1 = list(key_message)
list_key1.insert(random.randint(0,len(list_key1)),huluan)
str_ok = "".join(list_key1)
print("完成语句:" + str_ok)
\ 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