From e07cacb01c8e07f41580f070ea7c2fdc97fffffb Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 23 May 2021 19:09:50 +0800 Subject: [PATCH] auto save --- diy2.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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 -- libgit2 0.25.0