以下程序的输出结果是:
X=[90,87,93]
Y=[“zhang”,“wang”,“zhao”]print(list(zip(y,x)))(5.0分)
A.[‘zhang’,90],[‘wang’,87],[‘zhao’,93] B.[(‘zhang’,90),(‘wang’,87),(‘zhao’,93)] C.[[‘zhang’,90],[‘wang’,87],[‘zhao’,93]] D.(‘zhang’,90),(‘wang’,87),(‘zhao’,93)正确答案B
以下程序的输出结果是:
X=[90,87,93]
Y=[“zhang”,“wang”,“zhao”]print(list(zip(y,x)))(5.0分)
A.[‘zhang’,90],[‘wang’,87],[‘zhao’,93] B.[(‘zhang’,90),(‘wang’,87),(‘zhao’,93)] C.[[‘zhang’,90],[‘wang’,87],[‘zhao’,93]] D.(‘zhang’,90),(‘wang’,87),(‘zhao’,93)正确答案B