下面代码的输出结果是( )。list1 = [(m,n) for m in AB for n in CD]print(list1)
(A)[('A', 'C'), ('A', 'D'), ('B', 'C'), ('B', 'D')]
(B)[‘A’,’B’,’C’,’D’]
(C)['AC', 'AD', 'BC', 'BD']
(D)['A', 'AD', 'C', 'BD']
参考答案
继续答题:下一题
(A)[('A', 'C'), ('A', 'D'), ('B', 'C'), ('B', 'D')]
(B)[‘A’,’B’,’C’,’D’]
(C)['AC', 'AD', 'BC', 'BD']
(D)['A', 'AD', 'C', 'BD']