Commit aba03c8b by BellCodeEditor

save project

parent 16ac0761
Showing with 7 additions and 15 deletions
student1 = {'语文':91,'数学':88,'英语':85} city = ['纽约','华盛顿','桃园岛','洛杉矶','芝加哥','旧金山']
student2= {'语文':1,'数学':8,'英语':5} rais = input('你想去哪里啊?')
student3= {'语文':9,'数学':8,'英语':8} if rais in city:
score={'王一安':student1,'坤坤':student2,'草子博':student3} print("可以乘飞机通往"+rais)
while True: else:
name=input("请问你的名字是:") print("没有"+rais+"这座城市")
if name in score: \ No newline at end of file
print ("-"*30)
for k,v in score[name].items():
print(k,v)
print ("-"*30)
elif name=='q':
break
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