diff --git a/diy2.py b/diy2.py index 10acef7..9b91db4 100644 --- a/diy2.py +++ b/diy2.py @@ -1,8 +1,4 @@ -score1 = {'语文':91,'数学':88,'英语':85} -score2 = {'语文':61,'数学':48,'英语':95} -score3 = {'语文':71,'数学':78,'英语':25} -a={'w':score1,'a':score2,'c':score3} -name=input("m:") -i=a[name] -for k,v in i.items(): - print(k,v) \ No newline at end of file +w={'bj':8,'sh':15,'gz':20,'sz':21} +d=w.pop("bj") +print(d) +print(w) \ No newline at end of file