下面代码的执行结果是 knights={’gallahad’:’the pure’,’robin’:’the brave’} for k.v in knights.items(): print(k,v)

admin2019-09-02  15

问题 下面代码的执行结果是
knights={’gallahad’:’the pure’,’robin’:’the brave’}
for k.v in knights.items():
print(k,v)

选项 A、gallahad the pure   
robin the brave  
B、gallahad,the pure
robin,the brave
C、the pure,gallahad
the brave,robin
D、the pure gallahad
the brave robin

答案A

解析
转载请注明原文地址:https://kaotiyun.com/show/t36p777K
0

最新回复(0)