Commit 9b127714 by BellCodeEditor

save project

parent 6aef27a5
Showing with 13 additions and 10 deletions
import random
from random import choice,randint
a = input("你想加密什么:")
b = "的家庭感染力古佛i填海计划人工骨与解封123让给了库房"
b = "笨鸡蛋你活着吗?阿呆你还挺可爱吗。妈妈我做的好吗?"
c = ""
for i in a:
c = i
d = random.choice(b)
e = random.choice(b)
f = c + d + e
g =
print(f)
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file
d = choice(b)
e = choice(b)
c += i + d + e
f = input("干扰字符:")
h = randint(0,len(c))
g = list(c)
g.insert(h,b)
c = "".join(g)
print(c)
\ 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