Commit 14dc2a7f by BellCodeEditor

auto save

parent 086a85da
Showing with 17 additions and 7 deletions
q=input("请出拳")
print("玩家出拳:"+q)
m=input("你要加密什么")
k="相比还是学生进行那几乎"
import random
list=["石头","剪刀","布"]
w=random.choice(list)
print(w)
tt=""
for i in m:
strr=i
str1=random.choice(k)
str2=random.choice(k)
t=strr+str1+str2
tt=tt+t
print(tt)
noise="$%#@#^%^&*&*"
index=random.randint(0,len(tt))
tt1=list(tt)
tt1.insert(index,noise)
tt2="".join(tt1)
print(tt2)
\ 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