试题详情

下列语句输出正确的是 i = [‘a‘, ‘b‘] l = [1, 2] print (dict([l,i]))

A{‘b’: 2, ‘a‘: 1}

B{‘a’: 2, ‘b‘: 1}

C{1: 2, ‘a‘: ‘b‘}

D{2: 1, ‘b‘: ‘a‘}