Commit 06b4e654 by BellCodeEditor

save project

parent 6351606c
Pipeline #9991 failed in 0 seconds
Showing with 19 additions and 14 deletions
students = ["悟空", "小贝", "八戒", "波奇"] name="假彬羽"
powe=2
# 八戒因为要回老家,转学了,请将八戒从班级列表名单中删除 a=['贾傻蛋',0,'贾笨蛋',4,'贾憨蛋',6,'贾蛋',8,'贾屁蛋',10,'贾逼鱼',12,'赵张轶',60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000]
? for i in range(len(hero)):
if 1%2==1 and hear[i]>=powe:
# 班上来了一个新同学,名叫"诺依",请将"诺依"加入到班级名单里面 hero.insert(i-1,name)
? hero.insert(i,name)
break
# 班上准备开始辩论赛,分为红(red)、蓝(blue)组, print(hero[2:5])
# 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组 \ No newline at end of file
red = ?
blue = ?
message="诺依,你妈炸了!" message=["诺依,你妈炸了"]
for i in message: for i in message:
print(i) print(i)
\ No newline at end of file
"""
import random import random
text="" text=""
key="abcrftfyhgyhhyh" key="abcrftfyhgyhhyh"
...@@ -8,5 +9,9 @@ for i in message: ...@@ -8,5 +9,9 @@ for i in message:
str3=random.choice(key) str3=random.choice(key)
d=str1+str2+str3 d=str1+str2+str3
text=text+d text=text+d
print(text) message1=list(text)
message1.insert(random.randint(0,len(message1)),"bhjh")
message2="bhjh".join(message1)
print(message2)
"""
\ 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