Commit 1c87ee0f by BellCodeEditor

auto save

parent 79353ebc
Showing with 1255 additions and 9 deletions
students = ["悟空", "小贝", "八戒", "波奇"]
import random
info = input("请输入我们的暗号:")
key = "信息加密好酷呀。"
key_info = " "
noise = "!@#$%^&*()!@#$%^&**&TRFGIo9*&^%REGHJOp(*&^{"
for i in info:
str1 = i
str2 = random.choice(key)
str3 = random.choice(key)
text = str1+str2+str3
key_info = key_info+text
list_info = list(key_info)
for i in range(300):
list_info.insert(random.randint(1,8),noise)
str_info = "!23$%6&89)oiUYtrESasdFGhJKL;<MnbvCXz!@#$567*()-{POIUytre#$67890_Po765wERT9)(*&^%$oPOIUYtrew#$%^&*()ytrEW$%^&*()9876e$%^&*()_tre%^&*()(*765434%^&*()))}".join(list_info)
print(str_info)
# 八戒因为要回老家,转学了,请将八戒从班级列表名单中删除
?
# 班上来了一个新同学,名叫"诺依",请将"诺依"加入到班级名单里面
?
# 班上准备开始辩论赛,分为红(red)、蓝(blue)组,
# 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组
red = ?
blue = ?
list = ['张飞','90','刘备','100','关羽','95']
dict = {'张飞':90,'刘备':100,'关羽':95}
print(len(list))
print(len(dict))
\ 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