a.py 305 Bytes Edit 1 2 3 4 5 6 7 8 9 student1={"语文":94,"数学":79,"英语":98} student2={"语文":98,"数学":99,"英语":68} student3={"语文":74,"数学":89,"英语":97} score={"卡卡":student1,"鸡蛋":student2,"狗":student3} name=input("你的名字叫什么") i=score[name] for k,y in i.items(): print(k) print(y)