Commit 1bac3210 by BellCodeEditor

save project

parent a987b816
Showing with 20 additions and 0 deletions
list=["星期一","星期二","星期三","星期四","星期五","星期六""星期天"]
date=input("今天星期几呀?")
if date in list:
if date==("星期一"):
print("今天学钢琴~")
elif date==("星期三"):
print("今天学编程~")
elif date==("星期六"):
print("今天学英语~")
else:
print("今天学国学~")
else:
print("输入错误")
\ No newline at end of file
import random
name=input("创造师你叫什么呀?")
list=["ipad","玩偶","一台相机"]
gift=random.choice(list)
print("恭喜你,幸运的创造师——"+name+",获得了"gift)
\ 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