Commit 177ea663 by BellCodeEditor

auto save

parent 8a018f24
d=input("创造师你叫什么呀")
a=["UFO","iPad","MC"]
import random
b=random.choice(a)
print("恭喜你,幸运的创造师——"+d)
print("获得了"+b)
\ No newline at end of file
a=input("请输入你的名字")
b=input("请输入你的成绩")
print(a+"的英语成绩是"+b)
\ No newline at end of file
a1=input("指挥你认罪吗?请回答认罪或不认")
a2=input("柴可夫斯基你认罪吗?请回答认罪或不认")
if a1=="不认" or a1=="认罪" and a2=="不认" or a2=="认罪":
if a1=="不认" and a2=="不认":
print("你们都判3年")
elif a1=="认罪" and a=="认罪":
print("你们都判10年")
elif a1=="认罪" and a=="不认":
print("指挥判1年,柴可夫斯基判20年")
else:
print("指挥判20年,柴可夫斯基判1年")
else:
print("输入错误")
\ No newline at end of file
a=input("今天是星期几")
b=["星期一","星期二","星期三","星期四","星期五","星期六","星期七"]
if a in b:
if a=="星期一":
print("今天学习钢琴")
elif a=="星期三":
print("今天学习编程")
elif a=="星期六":
print("今天学习英语")
else:
print("今天学习国学")
else:
print("输入错误")
\ 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