Commit 38f070ed by BellCodeEditor

auto save

parent d3be8f8f
Showing with 22 additions and 0 deletions
import random
key = "ni haobnoaufnkgnoaiubnalgh"
gole = "诺伊,周一一起去玩吧"
nose = "prot:@#$%^&"
key_str = ''
for i in gole:
str1 = random.choice(key)
str2 = random.choice(key)
text = i + str1 + str2
key_str += text
print(key_str)
list_str = list(key_str)
num = 5
for i in nose:
list_str.insert(num,i)
num += 1
print(list_str)
new_str = ''.join(list_str)
print(new_str)
\ 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