Commit 2ff99857 by BellCodeEditor

save project

parent 0fb0d6c6
Showing with 19 additions and 3 deletions
neme=input("输入名字")
print(neme+"你好啊")
\ No newline at end of file
student1={'语':10,'数':20,'英':30}
student2={'语':10,'数':20,'英':30}
ssss={'小贝':student1,'悟空':student2}
while True:
a=input("你要查找的人")
if a in ssss:
print("*"*40)
print("他的成绩是:")
print(ssss[a])
print("*"*40)
break
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