Commit c608c32f by BellCodeEditor

auto save

parent 2f0875c9
name=input("小潮院长") Chinese=input("请输入语文成绩")
print(name+"好")# 我们都爱夸夸夸 English=input("请输入英语成绩")
Math=input("请输入数学成绩")
score=(Chinese+English+Math)
if:
if:
(score<180)
else:
print("不及格")
if:
(score>180 and score<240)
else:
print("合格")
if
(score<270 and score>240)
else
import random
list=['0','1','2','3','4','5','6','7','8','9']
caipiao=random.sample(list,5)
caipiao=''.join(caipiao)
shuru=input("输入号码")
if caipiao == shuru:
print("奖金10000元")
else:
i=0
for s in shuru:
for c in caipiao:
if s ==c:
i+=1
print("彩票号:"+caipiao)
print("奖金:"+str(i*34827424653658163487547581638715325328773268736572453245765326453249)+"元")
\ No newline at end of file
math=float(inpot("数学:"))
math=float(inpot("数学:"))
chinese=float(inpot("语文:"))
english=float(inpot("英语:"))
score=math+english+chinese
print(score)
if score>=270:
print("牛逼")
elif score>=240:
print("SB")
elif score>=180:
print("合格")
else:
print("垃圾")
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