Commit 0d25726a by BellCodeEditor

save project

parent 23a81e75
Showing with 26 additions and 0 deletions
student1={'yuwen':900000000000,'shuxeu':10010000000000000,'yingyu':10000000030000}
student2={'yuwen':700000000000,'shuxeu':10200000000000000,'yingyu':10000000100000}
student3={'yuwen':800000000000,'shuxeu':13000000000000000,'yingyu':10000000004000}
score={'sb':student1,'sd':student2,'sq':student3}
name=input("name:")
if name in score:
info=score[name]
for k,v in info.items():
print("*"*30)
print(k,v)
print("*"*30)
else:
print("F")
student1={'yuwen':900000000000,'shuxeu':10010000000000000,'yingyu':10000000030000}
student2={'yuwen':700000000000,'shuxeu':10200000000000000,'yingyu':10000000100000}
student3={'yuwen':800000000000,'shuxeu':13000000000000000,'yingyu':10000000004000}
score={'sb':student1,'sd':student2,'sq':student3}
name=input("name:")
if name in score:
info=score[name]
for k,v in info.items():
print("*"*30)
print(k,v)
print("*"*30)
else:
print("F")
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