Commit fd130597 by BellCodeEditor

auto save

parent 894ccfd7
Showing with 19 additions and 0 deletions
......@@ -10,6 +10,7 @@ while True :
print('*'*30)
for k,v in a.items():
print(k,v)
print('*'*30)
break
else:
print('输入错误')
\ No newline at end of file
student1 = {'攻击': 91, '速度': 88, '钱': 85}
student2 = {'攻击': 97, '速度': 98, '钱': 90}
student3 = {'攻击': 95, '速度': 100, '钱': 93}
student4 = {'攻击': 60, '速度': 60, '钱': 60}
while True :
name = input("名字")
if name in score :
a = score[name]
print('*'*30)
for k,v in a.items():
print(k,v)
print('*'*30)
break
else:
print('输入错误')
score={"米国队长"student2"铁锅侠"student1:}
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