Commit dda3d8e1 by BellCodeEditor

auto save

parent 32cce697
Pipeline #3487 failed in 0 seconds
Showing with 1 additions and 18 deletions
import random
kc=input("今天星期几呀")
if kc=="星期一":
print("学习钢琴~")
elif kc=="星期三" :
print("学习编程~")
elif kc=="星期六":
print("学习英语")
else:
print("学习国语~")
\ No newline at end of file
import random
name=input("创造师你叫啥名?")
jp=["小卓一个","小卓的一个吻","小卓的一个拥抱","ipad","苹果13"]
pj=random.choice(jp)
print("恭喜你,幸运的召唤师——"+name+"获得了"+pj)
\ No newline at end of file
......@@ -4,7 +4,7 @@ students = ["悟空", "小贝", "八戒", "波奇"]
students.pop("八戒")
# 班上来了一个新同学,名叫"诺依",请将"诺依"加入到班级名单里面
append
# 班上准备开始辩论赛,分为红(red)、蓝(blue)组,
# 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组
......
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