dict1={97:'a',98:'b',99:'c'}dict2={k:vfork,vindict1.items()ifk==98}print(dic

8 查阅

dict1={97:'a',98:'b',99:'c'}dict2={k:vfork,vindict1.items()ifk==98}print(dict2)以上代码的运行结果为?

A.{97:'a',98:'b',99:'c'}

B.{97:'a',98:'b'}

C.{97:'a',99:'c'}

D.{98:'b'}

参考答案:

答案:D