Commit 3e13b728 by BellCodeEditor

save project

parent c3a01f6d
Showing with 17 additions and 0 deletions
......@@ -18,3 +18,20 @@ if k in dict:
print('您的'+k+'需支付'+str(dict[k])+'元~')
else:
print('给爷趴')
score={'A':77,'B':86,'C':1,'D':98}
l=input('名字')
v=input('考多少')
if l in score:
if int(v)>score[l]:
score[l]=int(v)
print('考得不错')
else:
print('叫家长')
else:
score[l]=int(v)
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